summaryrefslogtreecommitdiffstats
path: root/SystemInformation.cxx
diff options
context:
space:
mode:
authorKWSys Robot <kwrobot@kitware.com>2013-10-15 12:43:32 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-15 13:03:58 (GMT)
commitc01e74459c0ad5552f8b5fc384bc540d82c32c60 (patch)
treec12a043b3a9876a11e7c785af84ba0dae689ffd1 /SystemInformation.cxx
parent1a39f857f705604818b81ed38a3d7de2d1b66fa6 (diff)
downloadCMake-c01e74459c0ad5552f8b5fc384bc540d82c32c60.zip
CMake-c01e74459c0ad5552f8b5fc384bc540d82c32c60.tar.gz
CMake-c01e74459c0ad5552f8b5fc384bc540d82c32c60.tar.bz2
KWSys 2013-10-15 (6eab64c3)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 6eab64c3 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 96b2f6f4..6eab64c3 Raphael Kubo da Costa (1): 6eab64c3 SystemInformation: Include backtrace-related headers on FreeBSD Change-Id: Ib0447aab3d6555ce278f0c1417af2c53e6f181a5
Diffstat (limited to 'SystemInformation.cxx')
-rw-r--r--SystemInformation.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/SystemInformation.cxx b/SystemInformation.cxx
index 7c31f3a..2672730 100644
--- a/SystemInformation.cxx
+++ b/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__)