Sfoglia il codice sorgente

fixup two macro definition in include/libc/libc_fcntl.h

zhangjun 6 anni fa
parent
commit
00d7cd66f2
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      include/libc/libc_fcntl.h

+ 2 - 2
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