From 12728552279ddbc66d9f2e36d5a007fffadb5ba0 Mon Sep 17 00:00:00 2001 From: Joseph R. Prostko Date: Fri, 19 Oct 2012 17:13:07 -0400 Subject: [PATCH] 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 --- 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 -- gitore 0.2.1