Merge pull request #2972 from zhangjun1996/master

[include][libc]改回O_DIRCTORY与O_NONBLOCK,解决O_DIRCOTY与newlib中O_BINARY的相同定义
This commit is contained in:
Bernard Xiong 2019-08-20 12:44:33 +08:00 committed by GitHub
commit 418757fa67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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