mirror of
https://github.com/mirror/make.git
synced 2025-01-17 07:40:24 +08:00
[_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix.
This commit is contained in:
parent
f4fb1be3d8
commit
491d66a916
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
|
||||
|
Loading…
Reference in New Issue
Block a user