diff --git a/ProcessUNIX.c b/ProcessUNIX.c
index 83669133b51553f7eca809852b7292e3e67084df..9c5915fc254fc7f7e06e3a2c2faa31115a6753bd 100644
--- a/ProcessUNIX.c
+++ b/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