提交 0d45288f 编写于 作者: B bernard

[libc] Add mode_t in rtlibc.h for Keil MDK/IAR.

上级 1181c5b3
......@@ -29,7 +29,6 @@
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <time.h>
#include <rtthread.h>
......
......@@ -9,6 +9,4 @@ typedef rt_int32_t key_t; /* Used for interprocess communication. */
typedef rt_int32_t pid_t; /* Used for process IDs and process group IDs. */
typedef signed long ssize_t; /* Used for a count of bytes or an error indication. */
typedef int mode_t;
#endif
......@@ -9,6 +9,4 @@ typedef rt_int32_t key_t; /* Used for interprocess communication. */
typedef rt_int32_t pid_t; /* Used for process IDs and process group IDs. */
typedef signed long ssize_t; /* Used for a count of bytes or an error indication. */
typedef int mode_t;
#endif
......@@ -36,6 +36,7 @@
#if defined(__CC_ARM) || defined(__IAR_SYSTEMS_ICC__)
typedef signed long off_t;
typedef int mode_t;
#endif
#if defined(__MINGW32__)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册