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:
Michael Lotz 2009-01-27 19:31:12 +00:00
parent 6245f2f512
commit b0f40dcb15
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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