Mercurial > hg > octave-nkf > gnulib-hg
changeset 10778:ddc567d280d1
Treat Haiku like BeOS.
author | Ingo Weinhold <ingo_weinhold@gmx.de> |
---|---|
date | Mon, 10 Nov 2008 12:30:58 +0100 |
parents | c7e606884d6d |
children | fc7783b21cb8 |
files | ChangeLog lib/binary-io.h lib/fcntl.in.h |
diffstat | 3 files changed, 12 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,13 +1,18 @@ -2008-11-07 Bruno Haible <bruno@clisp.org> +2008-11-10 Ingo Weinhold <ingo_weinhold@gmx.de> + + * lib/binary-io.h (O_BINARY, O_TEXT): Treat Haiku like BeOS. + * lib/fcntl.in.h (O_BINARY, O_TEXT): Likewise. + +2008-11-08 Bruno Haible <bruno@clisp.org> * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H): Avoid using AC_CHECK_DECL inside AC_CACHE_CHECK. -2008-11-07 Bruno Haible <bruno@clisp.org> +2008-11-08 Bruno Haible <bruno@clisp.org> * modules/select-tests (configure.ac): Check for unistd.h, sys/wait.h. -2008-11-07 Bruno Haible <bruno@clisp.org> +2008-11-08 Bruno Haible <bruno@clisp.org> * tests/test-select-fd.c: New file. * tests/test-select-in.sh: New file.
--- a/lib/binary-io.h +++ b/lib/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 have O_BINARY and O_TEXT, but they have no effect. */ # undef O_BINARY # undef O_TEXT #endif
--- 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