diff options
author | Roland McGrath <roland@redhat.com> | 1994-05-21 20:27:18 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1994-05-21 20:27:18 +0000 |
commit | 491d66a916af7e99fe5bcf7140697aa35bade0c2 (patch) | |
tree | 27c66a1dd0337fb6ef892c889d0f12c6b9088896 | |
parent | f4fb1be3d8e2d930ddebab44728142a3bef878bd (diff) | |
download | gunmake-491d66a916af7e99fe5bcf7140697aa35bade0c2.tar.gz |
[_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix.
-rw-r--r-- | make.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |