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 f966f79..cd514df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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+.
        Suggested by Simon Josefsson.
 
index d9c2e5a..860a79d 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 62e2b77..3c74fd8 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