未验证 提交 418757fa 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #2972 from zhangjun1996/master

[include][libc]改回O_DIRCTORY与O_NONBLOCK,解决O_DIRCOTY与newlib中O_BINARY的相同定义
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册