summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorzhangjun <[email protected]>2019-08-10 16:32:31 +0800
committerzhangjun <[email protected]>2019-08-10 16:32:31 +0800
commit00d7cd66f2aaf894585193c61d506906bd1f285c (patch)
tree73c0a6286d851c3a09e29d51fd66ac1dae726454 /include
parent882ba628bc0b43eb5ad1414180c3c4029d3f508b (diff)
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