mirror of
https://github.com/mirror/make.git
synced 2026-08-05 07:30:38 +00:00
[_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix.
This commit is contained in:
4
make.h
4
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
|
||||
|
||||
Reference in New Issue
Block a user