summaryrefslogtreecommitdiff
path: root/lib/stdio-impl.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2017-01-07 14:49:10 +0100
committerBruno Haible <bruno@clisp.org>2017-01-07 15:09:27 +0100
commitdc42aaceb3894eba4c2398fe920cc7241cbdb1b6 (patch)
treee9335a076594cb7cdf4359f48132dfbda3c5d7e6 /lib/stdio-impl.h
parent7d75021d82318d9a297becf18d7a1f7394f2776e (diff)
downloadgnulib-dc42aaceb3894eba4c2398fe920cc7241cbdb1b6.tar.gz
stdioext: Port to Minix 3.2 and newer.
* lib/stdio-impl.h: Treat __minix like the newest NetBSD. * lib/fseeko.c (fseeko): Likewise. Reported by Nelson Beebe via Paul Eggert.
Diffstat (limited to 'lib/stdio-impl.h')
-rw-r--r--lib/stdio-impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h
index d2d4daa6e1..75a945eb72 100644
--- a/lib/stdio-impl.h
+++ b/lib/stdio-impl.h
@@ -29,7 +29,7 @@
#include <errno.h> /* For detecting Plan9. */
#if defined __sferror || defined __DragonFly__ || defined __ANDROID__
- /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
+ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
# if defined __DragonFly__ /* DragonFly */
/* See <http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/priv_stdio.h?rev=HEAD&content-type=text/x-cvsweb-markup>. */
@@ -58,7 +58,7 @@
# define fp_ fp
# endif
-# if (defined __NetBSD__ && __NetBSD_Version__ >= 105270000) || defined __OpenBSD__ || defined __ANDROID__ /* NetBSD >= 1.5ZA, OpenBSD, Android */
+# if (defined __NetBSD__ && __NetBSD_Version__ >= 105270000) || defined __OpenBSD__ || defined __minix || defined __ANDROID__ /* NetBSD >= 1.5ZA, OpenBSD, Minix 3, Android */
/* See <http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdio/fileext.h?rev=HEAD&content-type=text/x-cvsweb-markup>
and <http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdio/fileext.h?rev=HEAD&content-type=text/x-cvsweb-markup> */
struct __sfileext