diff options
author | Bruno Haible <bruno@clisp.org> | 2008-11-10 12:37:32 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-11-10 12:37:32 +0100 |
commit | a2c5f8d99ec52594aae96afeb29e0aeb7a841872 (patch) | |
tree | 73e72cea84741a0ac9ddad4bcb38c13360e04445 /lib/fbufmode.c | |
parent | 729edda20b3bc6862f41a34ae0ff17e7db449333 (diff) | |
download | gnulib-a2c5f8d99ec52594aae96afeb29e0aeb7a841872.tar.gz |
Add support for Haiku.
Diffstat (limited to 'lib/fbufmode.c')
-rw-r--r-- | lib/fbufmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fbufmode.c b/lib/fbufmode.c index 961ae2adb2..d5b456ff0a 100644 --- a/lib/fbufmode.c +++ b/lib/fbufmode.c @@ -31,7 +31,7 @@ fbufmode (FILE *fp) /* Most systems provide FILE as a struct and the necessary bitmask in <stdio.h>, because they need it for implementing getc() and putc() as fast macros. */ -#if defined _IO_ferror_unlocked || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */ +#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ # if HAVE___FLBF /* glibc >= 2.2 */ if (__flbf (fp)) return _IOLBF; |