summaryrefslogtreecommitdiff
path: root/make.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-05-23 22:25:30 +0000
committerRoland McGrath <roland@redhat.com>1994-05-23 22:25:30 +0000
commitbb38b0c253bc201557de651f4145018006bf6890 (patch)
treeb487e386a63cfa1186c950b2f5633ed1317b1fb4 /make.h
parentd2ed03e72a2b302a84a6e2175632e02340a177ac (diff)
downloadgunmake-bb38b0c253bc201557de651f4145018006bf6890.tar.gz
[!__GNU_LIBRARY__ && !POSIX]: Also test #ifndef _POSIX_VERSION for these
declarations.
Diffstat (limited to 'make.h')
-rw-r--r--make.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/make.h b/make.h
index 0405087..e5fbc48 100644
--- a/make.h
+++ b/make.h
@@ -299,7 +299,10 @@ extern void user_access (), make_access (), child_access ();
#include <vfork.h>
#endif
-#if !defined (__GNU_LIBRARY__) && !defined (POSIX)
+/* We omit these declarations on non-POSIX systems which define _POSIX_VERSION,
+ because such systems often declare the in header files anyway. */
+
+#if !defined (__GNU_LIBRARY__) && !defined (POSIX) && !defined (_POSIX_VERSION)
#ifdef HAVE_SIGSETMASK
extern int sigsetmask ();