summaryrefslogtreecommitdiff
path: root/include/libc
diff options
context:
space:
mode:
authorHubretXie <[email protected]>2019-11-26 09:30:21 +0800
committerGitHub <[email protected]>2019-11-26 09:30:21 +0800
commit17f7f1c7ca2581b2e308888f8acb99ca8a541422 (patch)
tree5236e93ab1e4e24508d4ebf4540b6743dd7c9a41 /include/libc
parent9662e18c3688681cd95ebd65242773dbe7c1366b (diff)
parente459084fe028c837762d40326a9be3dfdc179894 (diff)
Merge pull request #8 from RT-Thread/master
sync
Diffstat (limited to 'include/libc')
-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 83b9af9b1e..1b7c69b1f4 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 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