diff lib/fcntl.in.h @ 10778:ddc567d280d1

Treat Haiku like BeOS.
author Ingo Weinhold <ingo_weinhold@gmx.de>
date Mon, 10 Nov 2008 12:30:58 +0100
parents 8668b19a7032
children 27f6d88f60b1
line wrap: on
line diff
--- a/lib/fcntl.in.h
+++ b/lib/fcntl.in.h
@@ -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