summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-15 13:04:01 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-15 13:04:01 (GMT)
commit0408415bdd70c1b3ccdcee1daf2c4a6d762355bc (patch)
treecbc60b26d27feb3986bafe648546d55596f0bac0
parentbedb7bc526bb461982b3baa04f48240843bd8d20 (diff)
parentc01e74459c0ad5552f8b5fc384bc540d82c32c60 (diff)
downloadCMake-0408415bdd70c1b3ccdcee1daf2c4a6d762355bc.zip
CMake-0408415bdd70c1b3ccdcee1daf2c4a6d762355bc.tar.gz
CMake-0408415bdd70c1b3ccdcee1daf2c4a6d762355bc.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
-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__)