Merge pull request #2940 from zhangjun1996/master

fixup two macro definition in include/libc/libc_fcntl.h
This commit is contained in:
Bernard Xiong 2019-08-11 14:46:26 +08:00 committed by GitHub
commit 41d8ba370b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@
#include <fcntl.h>
#ifndef O_NONBLOCK
#define O_NONBLOCK 0x4000
#define O_NONBLOCK 04000
#endif
#if defined(_WIN32)
@ -35,7 +35,7 @@
#endif
#ifndef O_DIRECTORY
#define O_DIRECTORY 0x200000
#define O_DIRECTORY 0200000
#endif
#ifndef O_BINARY