summaryrefslogtreecommitdiff
path: root/lib/fwritable.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fwritable.c')
-rw-r--r--lib/fwritable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fwritable.c b/lib/fwritable.c
index 925feb824b..533f8b8e52 100644
--- a/lib/fwritable.c
+++ b/lib/fwritable.c
@@ -34,7 +34,7 @@ fwritable (FILE *fp)
#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
return (fp->_flags & _IO_NO_WRITES) == 0;
#elif 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 */
return (fp_->_flags & (__SRW | __SWR)) != 0;
#elif defined __EMX__ /* emx+gcc */
return (fp->_flags & (_IORW | _IOWRT)) != 0;