From 491d66a916af7e99fe5bcf7140697aa35bade0c2 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 21 May 1994 20:27:18 +0000 Subject: [PATCH] [_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix. --- make.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make.h b/make.h index 95154909..04050871 100644 --- a/make.h +++ b/make.h @@ -59,7 +59,9 @@ extern int errno; #ifdef HAVE_UNISTD_H #include -#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