about summary refs log tree commit diff
path: root/signal
diff options
context:
space:
mode:
Diffstat (limited to 'signal')
-rw-r--r--signal/signal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/signal/signal.h b/signal/signal.h
index 2b57180695..db8b0b571d 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -157,9 +157,10 @@ extern int sigpause (int __mask) __THROW;
 # ifdef __USE_XOPEN
 #  ifdef __GNUC__
 extern int sigpause (int __sig) __asm__ ("__xpg_sigpause");
-#  endif
+#  else
 /* Remove a signal from the signal mask and suspend the process.  */
-#  define sigpause(sig) __sigpause ((sig), 1)
+#   define sigpause(sig) __sigpause ((sig), 1)
+#  endif
 # endif
 #endif