Conditionally include unistd.h
This commit is contained in:
parent
323478ff2a
commit
586519240e
@ -31,6 +31,10 @@ Contributor(s):
|
|||||||
#include <io.h>
|
#include <io.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _POSIX_SOURCE
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef O_BINARY
|
#ifndef O_BINARY
|
||||||
#ifdef _O_BINARY
|
#ifdef _O_BINARY
|
||||||
#define O_BINARY _O_BINARY
|
#define O_BINARY _O_BINARY
|
||||||
|
Loading…
Reference in New Issue
Block a user