changeset 18668:c91e58230454

[sigmask] (SIGEMPTYMASK): Define to use sigmask.
author Richard M. Stallman <rms@gnu.org>
date Mon, 07 Jul 1997 19:05:34 +0000
parents d4f53287fc5b
children cb4d74c720ed
files src/syssignal.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/syssignal.h	Mon Jul 07 19:04:35 1997 +0000
+++ b/src/syssignal.h	Mon Jul 07 19:05:34 1997 +0000
@@ -51,7 +51,14 @@
 
 #ifndef sigpause
 #define sigpause(SIG)    sys_sigpause (SIG)
+#else
+/* If sigpause is predefined, with POSIX_SIGNALS,
+   let's assume it needs this kind of argument.
+   This is true for Glibc 2.1.  */
+#undef SIGEMPTYMASK
+#define SIGEMPTYMASK sigmask (0)
 #endif
+
 #define sigblock(SIG)    sys_sigblock (SIG)
 #define sigunblock(SIG)  sys_sigunblock (SIG)
 #ifndef sigsetmask