diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2007-12-19 21:49:17 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2007-12-19 21:49:17 +0300 |
commit | 7f9b49e42758147189448939f277547428deeeb6 (patch) | |
tree | 8b6c0d92969ad01619d3bec911ed31e032fd5bc9 /newlib/libc/sys | |
parent | c6bfc3d4bc3614e62f3ce80700eb2aea97b667ba (diff) |
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.
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r-- | newlib/libc/sys/arm/sys/fcntl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/newlib/libc/sys/arm/sys/fcntl.h b/newlib/libc/sys/arm/sys/fcntl.h new file mode 100644 index 000000000..7da1d46da --- /dev/null +++ b/newlib/libc/sys/arm/sys/fcntl.h @@ -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_ */ |