summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-08-11 14:46:26 +0800
committerGitHub <[email protected]>2019-08-11 14:46:26 +0800
commit41d8ba370b5236fabad95f8aff48baccfbae59a4 (patch)
tree0c7d3823a62d4f7a26e088bd9bedae0650bf6c0e /include
parentb86333f5a2c8cf2653e48d1178b8664886cfbbff (diff)
parent00d7cd66f2aaf894585193c61d506906bd1f285c (diff)
Merge pull request #2940 from zhangjun1996/master
fixup two macro definition in include/libc/libc_fcntl.h
Diffstat (limited to 'include')
-rw-r--r--include/libc/libc_fcntl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libc/libc_fcntl.h b/include/libc/libc_fcntl.h
index 1b7c69b1f4..83b9af9b1e 100644
--- a/include/libc/libc_fcntl.h
+++ b/include/libc/libc_fcntl.h
@@ -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