⛏️ index : buildtools.git

author Michael Lotz <mmlr@mlotz.ch> 2009-01-27 19:31:12.0 +00:00:00
committer Michael Lotz <mmlr@mlotz.ch> 2009-01-27 19:31:12.0 +00:00:00
commit
b0f40dcb1594ad8981438d852c69f4a4f4154759 [patch]
tree
0fd719178b5c79fde4e6ee68065cf678ae1b89b6
parent
6245f2f512737180792c2361d84e8fc5fec01d41
download
b0f40dcb1594ad8981438d852c69f4a4f4154759.tar.gz

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

Diff

 binutils/include/binary-io.h | 4 +++-
 binutils/intl/loadmsgcat.c   | 4 +++-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/binutils/include/binary-io.h b/binutils/include/binary-io.h
index 2984271..30d716b 100644
--- a/binutils/include/binary-io.h
+++ b/binutils/include/binary-io.h
@@ -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
diff --git a/binutils/intl/loadmsgcat.c b/binutils/intl/loadmsgcat.c
index 536ee12..8d282ae 100644
--- a/binutils/intl/loadmsgcat.c
+++ b/binutils/intl/loadmsgcat.c
@@ -480,8 +480,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