fixed a compiling error of mini2440 project

defined O_BINARY in newlib/sys/fcntl.h
#define O_BINARY        0x0008000

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2328 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
dzzxzz@gmail.com 2012-10-09 02:35:49 +00:00
parent 8ad54b8e60
commit 06165b8290
1 changed files with 16 additions and 15 deletions

View File

@ -11,5 +11,6 @@
#define O_TRUNC 0x0001000 #define O_TRUNC 0x0001000
#define O_APPEND 0x0002000 #define O_APPEND 0x0002000
#define O_DIRECTORY 0x0200000 #define O_DIRECTORY 0x0200000
#define O_BINARY 0x0008000
#endif #endif