Define a dummy SA_NODEFER macro on Interix.
authorBruno Haible <bruno@clisp.org>
Fri, 24 Oct 2008 00:22:43 +0000 (02:22 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 24 Oct 2008 00:22:43 +0000 (02:22 +0200)
ChangeLog
doc/posix-headers/signal.texi
lib/signal.in.h

index f966f79c3993240ad05aec5ee0fbc941e4961f26..cd514df37a78ccee8c6989ddc113a21fbb2b0f6f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-10-23  Bruno Haible  <bruno@clisp.org>
+
+       Define a dummy SA_NODEFER macro on Interix.
+       * lib/signal.in.h (SA_NODEFER): Define fallback.
+       Reported by Aleksey Cheusov <cheusov@tut.by> via
+       Thomas Klausner <wiz@netbsd.org> and Eric Blake.
+
 2008-10-23  Bruno Haible  <bruno@clisp.org>
 
        * modules/freadahead (License): Change to LGPLv2+.
index d9c2e5a1b0e7577ba706579db51238d5f86f2197..860a79da83d22c9644a6f5d83874cc8eeebbca63 100644 (file)
@@ -21,6 +21,9 @@ Irix 5.3, Interix 3.5.
 @item
 The signal @code{SIGPIPE} is not defined on some platforms:
 mingw.
+@item
+The macro @code{SA_NODEFER} is not defined on some platforms:
+Interix 3.5.
 @end itemize
 
 Portability problems not fixed by Gnulib:
index 62e2b778d18e47a35388e7d1c333f9496f4e30a1..3c74fd8d4ae2bb19df0dc9790ae4dce6c0cbe58e 100644 (file)
@@ -178,6 +178,12 @@ extern int sigaction (int, const struct sigaction *restrict,
 #endif /* !@HAVE_SIGACTION@, !@HAVE_STRUCT_SIGACTION_SA_SIGACTION@ */
 
 
+/* Some systems don't have SA_NODEFER.  */
+#ifndef SA_NODEFER
+# define SA_NODEFER 0
+#endif
+
+
 #ifdef __cplusplus
 }
 #endif