mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-31 10:34:41 +01:00
These apply to Haiku as well. Fixes binutils build with current GCC2 package on Haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29062 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6245f2f512
commit
b0f40dcb15
@ -30,8 +30,8 @@
|
||||
# define O_BINARY _O_BINARY
|
||||
# define O_TEXT _O_TEXT
|
||||
#endif
|
||||
#ifdef __BEOS__
|
||||
/* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
|
||||
#if defined(__BEOS__) || defined(__HAIKU__)
|
||||
/* BeOS 5 and Haiku R1 have O_BINARY and O_TEXT, but they have no effect. */
|
||||
# undef O_BINARY
|
||||
# undef O_TEXT
|
||||
#endif
|
||||
|
@ -480,8 +480,8 @@ char *alloca ();
|
||||
# define O_BINARY _O_BINARY
|
||||
# define O_TEXT _O_TEXT
|
||||
#endif
|
||||
#ifdef __BEOS__
|
||||
/* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
|
||||
#if defined(__BEOS__) || defined(__HAIKU__)
|
||||
/* BeOS 5 and Haiku R1 have O_BINARY and O_TEXT, but they have no effect. */
|
||||
# undef O_BINARY
|
||||
# undef O_TEXT
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user