]> Savannah Git Hosting - gnulib.git/commitdiff
fpending: fix port to MinGW on Emacs
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Dec 2016 15:38:58 +0000 (07:38 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Dec 2016 15:40:29 +0000 (07:40 -0800)
* 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?

ChangeLog
lib/stdio-impl.h

index 5e9e80197dcc699922d310e03c3e734dfe1737ae..dd67dba44e8ef49b1dac4191d5d1a8d7c9c92c3a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2016-12-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <eggert@cs.ucla.edu>
 
        safe-alloc: use xalloc-oversized
index 766d6936590f72bca14f5f7c413818a087fdf940..1972a33ab13ab894913317603f430b5d8ec2bbec 100644 (file)
@@ -26,7 +26,9 @@
 # include <sys/param.h>
 #endif
 
+#ifndef __MINGW32__
 #include <errno.h>                             /* For detecting Plan9.  */
+#endif
 
 #if defined __sferror || defined __DragonFly__ || defined __ANDROID__
   /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */