From: Paul Eggert Date: Fri, 16 Dec 2016 15:38:58 +0000 (-0800) Subject: fpending: fix port to MinGW on Emacs X-Git-Tag: v1.0~6493 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=d721ea9f8163e38c628d45190176b916ab6618f2;p=gnulib.git fpending: fix port to MinGW on Emacs * lib/stdio-impl.h [__MINGW32__]: Do not include errno.h. Problem reported by Eli Zaretskii in: http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00642.html Is Plan 9 still a valid porting target, anyway? --- diff --git a/ChangeLog b/ChangeLog index 5e9e80197d..dd67dba44e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2016-12-16 Paul Eggert + + fpending: fix port to MinGW on Emacs + * lib/stdio-impl.h [__MINGW32__]: Do not include errno.h. + Problem reported by Eli Zaretskii in: + http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00642.html + Is Plan 9 still a valid porting target, anyway? + 2016-12-15 Paul Eggert safe-alloc: use xalloc-oversized diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h index 766d693659..1972a33ab1 100644 --- a/lib/stdio-impl.h +++ b/lib/stdio-impl.h @@ -26,7 +26,9 @@ # include #endif +#ifndef __MINGW32__ #include /* For detecting Plan9. */ +#endif #if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */