[_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix.
authorRoland McGrath <roland@redhat.com>
Sat, 21 May 1994 20:27:18 +0000 (20:27 +0000)
committerRoland McGrath <roland@redhat.com>
Sat, 21 May 1994 20:27:18 +0000 (20:27 +0000)
make.h

diff --git a/make.h b/make.h
index 95154909b96c42441927c9cba8f5c1a89130de13..0405087141fd99fc8f6cad72986404ab20f3d1c7 100644 (file)
--- a/make.h
+++ b/make.h
@@ -59,7 +59,9 @@ extern int errno;
 
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
-#ifdef _POSIX_VERSION
+/* Ultrix's unistd.h always defines _POSIX_VERSION, but you only get
+   POSIX.1 behavior with `cc -YPOSIX', which predefines POSIX itself!  */
+#if defined (_POSIX_VERSION) && !defined (ultrix)
 #define        POSIX
 #endif
 #endif