[libc] Add mode_t in rtlibc.h for Keil MDK/IAR.
This commit is contained in:
parent
1181c5b308
commit
0d45288f06
|
@ -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__)
|
||||
|
|
Loading…
Reference in New Issue