mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-25 16:57:20 +00:00
Modify the link mode, compile each component to static library first and then link them
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1405 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user