diff options
Diffstat (limited to 'components/pthreads')
| -rw-r--r-- | components/pthreads/posix_types.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/components/pthreads/posix_types.h b/components/pthreads/posix_types.h index fd913aee2e..a2bb1aeac9 100644 --- a/components/pthreads/posix_types.h +++ b/components/pthreads/posix_types.h @@ -176,15 +176,15 @@ struct timeval { #include <dfs_posix.h>
#else
typedef rt_uint16_t mode_t;
-#define O_RDONLY 0000000
-#define O_WRONLY 0000001
-#define O_RDWR 0000002
-#define O_ACCMODE 0000003
-#define O_CREAT 0000100
-#define O_EXCL 0000200
-#define O_TRUNC 0001000
-#define O_APPEND 0002000
-#define O_DIRECTORY 0200000
+#define O_RDONLY 0x0000000
+#define O_WRONLY 0x0000001
+#define O_RDWR 0x0000002
+#define O_ACCMODE 0x0000003
+#define O_CREAT 0x0000100
+#define O_EXCL 0x0000200
+#define O_TRUNC 0x0001000
+#define O_APPEND 0x0002000
+#define O_DIRECTORY 0x0200000
#endif
#elif defined (__GNUC__) /* GNU GCC Compiler, with minilibc */
|
