[!__GNU_LIBRARY__ && !POSIX]: Also test #ifndef _POSIX_VERSION for these
authorRoland McGrath <roland@redhat.com>
Mon, 23 May 1994 22:25:30 +0000 (22:25 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 23 May 1994 22:25:30 +0000 (22:25 +0000)
declarations.

make.h

diff --git a/make.h b/make.h
index 0405087141fd99fc8f6cad72986404ab20f3d1c7..e5fbc4824a32fcd803ea2a9f8c19accf14edfb64 100644 (file)
--- 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 ();