summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-06-27 15:39:16 (GMT)
committerBrad King <brad.king@kitware.com>2007-06-27 15:39:16 (GMT)
commit9dec9a0c3b3138c8b2e340d4648973f21b016733 (patch)
treed7c1c276d928074a61ae8af2b0dd71fd075c16f0 /Source
parent07613ff7f8d20eee13d0a3e34574ab08c9f9bf21 (diff)
downloadCMake-9dec9a0c3b3138c8b2e340d4648973f21b016733.zip
CMake-9dec9a0c3b3138c8b2e340d4648973f21b016733.tar.gz
CMake-9dec9a0c3b3138c8b2e340d4648973f21b016733.tar.bz2
COMP: Fix for platforms that do not have siginfo on their signal handlers.
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/ProcessUNIX.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c
index bc24fc6..6f3d3df 100644
--- a/Source/kwsys/ProcessUNIX.c
+++ b/Source/kwsys/ProcessUNIX.c
@@ -100,8 +100,8 @@ static inline void kwsysProcess_usleep(unsigned int msec)
# define KWSYSPE_USE_SELECT 1
#endif
-/* BeOS does not have siginfo on its signal handlers. */
-#if !defined(__BEOS__)
+/* Some platforms do not have siginfo on their signal handlers. */
+#if defined(SA_SIGINFO) && !defined(__BEOS__)
# define KWSYSPE_USE_SIGINFO 1
#endif