mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-27 23:06:54 +00:00
[_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix.
This commit is contained in:
parent
f4fb1be3d8
commit
491d66a916
1 changed files with 3 additions and 1 deletions
4
make.h
4
make.h
|
@ -59,7 +59,9 @@ extern int errno;
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <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
|
#define POSIX
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue