summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 bc24fc6b08..6f3d3dfc83 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