summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-16 14:45:40 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-16 14:45:40 (GMT)
commitc54fb6fede9f84ce66d6b42f02abadf555f78f5e (patch)
treeb3b8b191f915e9677c2404c140ebfe8ee47c9730
parentc49083e9a4cddbdc6cbcc582e2d8d5fc7cfd7740 (diff)
parent0408415bdd70c1b3ccdcee1daf2c4a6d762355bc (diff)
downloadCMake-c54fb6fede9f84ce66d6b42f02abadf555f78f5e.zip
CMake-c54fb6fede9f84ce66d6b42f02abadf555f78f5e.tar.gz
CMake-c54fb6fede9f84ce66d6b42f02abadf555f78f5e.tar.bz2
Merge topic 'update-kwsys'
0408415 Merge branch 'upstream-kwsys' into update-kwsys c01e744 KWSys 2013-10-15 (6eab64c3)
-rw-r--r--Source/kwsys/SystemInformation.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx
index 7c31f3a..2672730 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/SystemInformation.cxx
@@ -88,6 +88,15 @@ typedef int siginfo_t;
# include <ifaddrs.h>
# define KWSYS_SYSTEMINFORMATION_IMPLEMENT_FQDN
# endif
+# if defined(KWSYS_SYSTEMINFORMATION_HAS_BACKTRACE)
+# include <execinfo.h>
+# if defined(KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE)
+# include <cxxabi.h>
+# endif
+# if defined(KWSYS_SYSTEMINFORMATION_HAS_SYMBOL_LOOKUP)
+# include <dlfcn.h>
+# endif
+# endif
#endif
#if defined(__OpenBSD__) || defined(__NetBSD__)