projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4fb1be
)
[_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix.
author
Roland McGrath
<roland@redhat.com>
Sat, 21 May 1994 20:27:18 +0000
(20:27 +0000)
committer
Roland McGrath
<roland@redhat.com>
Sat, 21 May 1994 20:27:18 +0000
(20:27 +0000)
make.h
patch
|
blob
|
history
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