2007-11-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/_default_fcntl.h: New header file that is the default version of sys/fcntl.h. * libc/include/sys/fcntl.h: Changed to simply include sys/_default_fcntl.h. * libc/sys/arm/sys/fcntl.h: New file that includes sys/_default_fcntl.h and defines O_BINARY.
This commit is contained in:
12
newlib/libc/sys/arm/sys/fcntl.h
Normal file
12
newlib/libc/sys/arm/sys/fcntl.h
Normal file
@ -0,0 +1,12 @@
|
||||
#ifndef _SYS_FCNTL_H_
|
||||
#define _SYS_FCNTL_H_
|
||||
|
||||
#include <sys/_default_fcntl.h>
|
||||
|
||||
/* We want to support O_BINARY for the open syscall.
|
||||
For example, the Demon debug monitor has a separate
|
||||
flag value for "rb" vs "r". */
|
||||
#define _FBINARY 0x10000
|
||||
#define O_BINARY _FBINARY
|
||||
|
||||
#endif /* _SYS_FCNTL_H_ */
|
Reference in New Issue
Block a user