mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 15:33:32 +08:00
add IAR compiler support in POSIX Threads.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1393 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
2a8b1db170
commit
a5073f27b0
@ -16,7 +16,8 @@
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#ifdef __CC_ARM /* ARM Compiler */
|
/* ARM compiler and IAR compiler */
|
||||||
|
#if defined(__CC_ARM) || defined(__IAR_SYSTEMS_ICC__)
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -186,7 +187,6 @@ typedef rt_uint16_t mode_t;
|
|||||||
#define O_DIRECTORY 0200000
|
#define O_DIRECTORY 0200000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif defined (__IAR_SYSTEMS_ICC__) /* IAR Compiler */
|
|
||||||
#elif defined (__GNUC__) /* GNU GCC Compiler, with minilibc */
|
#elif defined (__GNUC__) /* GNU GCC Compiler, with minilibc */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user