⛏️ index : buildtools.git

author Joseph R. Prostko <joe.prostko@gmail.com> 2012-10-19 17:13:07.0 -04:00:00
committer Joseph R. Prostko <joe.prostko@gmail.com> 2012-10-19 17:13:07.0 -04:00:00
commit
12728552279ddbc66d9f2e36d5a007fffadb5ba0 [patch]
tree
2c12913a845ece0ae073dc6a8769a2a22620e5e7
parent
9ff1e151e846fffe461e75bbc17ac32a445eb62c
download
12728552279ddbc66d9f2e36d5a007fffadb5ba0.tar.gz

Remove outdated fix for O_BINARY / O_TEXT in Haiku * O_BINARY and O_TEXT were removed from Haiku way back in hrev38962 * This patch removes the fix that used to unset those flags * Now gcc/intl/loadmsgcat.c is back to the GCC 4.6.3 stock file Thanks diger for noticing the previously needed fix was still in place unintentionally



Diff

 gcc/intl/loadmsgcat.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/intl/loadmsgcat.c b/gcc/intl/loadmsgcat.c
index 8d282ae..536ee12 100644
--- a/gcc/intl/loadmsgcat.c
+++ a/gcc/intl/loadmsgcat.c
@@ -480,8 +480,8 @@
# define O_BINARY _O_BINARY
# define O_TEXT _O_TEXT
#endif
#if defined(__BEOS__) || defined(__HAIKU__)

  /* BeOS 5 and Haiku R1 have O_BINARY and O_TEXT, but they have no effect.  */
#ifdef __BEOS__
  /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect.  */
# undef O_BINARY
# undef O_TEXT
#endif