> Signed-off-by: Ingo Weinhold <[EMAIL PROTECTED]>
> ---
> lib/binary-io.h | 5 +++--
> lib/fcntl.in.h | 4 ++--
> 2 files changed, 5 insertions(+), 4 deletions(-)
Thanks. I will apply it like this, when savannah is back:
2008-11-10 Ingo Weinhold <[EMAIL PROTECTED]>
* lib/binary-io.h (O_BINARY, O_TEXT): Treat Haiku like BeOS.
* lib/fcntl.in.h (O_BINARY, O_TEXT): Likewise.
--- lib/binary-io.h.orig 2008-11-10 02:54:40.000000000 +0100
+++ lib/binary-io.h 2008-11-10 02:50:12.000000000 +0100
@@ -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 have O_BINARY and O_TEXT, but they have no effect. */
# undef O_BINARY
# undef O_TEXT
#endif
--- lib/fcntl.in.h.orig 2008-11-10 02:54:41.000000000 +0100
+++ lib/fcntl.in.h 2008-11-10 02:50:40.000000000 +0100
@@ -127,8 +127,8 @@
# 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 have O_BINARY and O_TEXT, but they have no effect. */
# undef O_BINARY
# undef O_TEXT
#endif