aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEli Zaretskii2016-12-16 12:50:06 +0200
committerEli Zaretskii2016-12-16 12:50:06 +0200
commitb3cf281174674ced4e167081e6908b2b0ee29deb (patch)
tree99adcaa9042007e54a18088638b9b09c1515d07f /lib
parentfb2fdb1435d2520c1cbf2a3d6a53128512a38458 (diff)
downloademacs-b3cf281174674ced4e167081e6908b2b0ee29deb.tar.gz
emacs-b3cf281174674ced4e167081e6908b2b0ee29deb.zip
Unbreak the MinGW build
* lib/stdio-impl.h [__MINGW32__]: Don't include errno.h. Without this, temacs crashes while dumping.
Diffstat (limited to 'lib')
-rw-r--r--lib/stdio-impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h
index 766d6936590..1972a33ab13 100644
--- a/lib/stdio-impl.h
+++ b/lib/stdio-impl.h
@@ -26,7 +26,9 @@
26# include <sys/param.h> 26# include <sys/param.h>
27#endif 27#endif
28 28
29#ifndef __MINGW32__
29#include <errno.h> /* For detecting Plan9. */ 30#include <errno.h> /* For detecting Plan9. */
31#endif
30 32
31#if defined __sferror || defined __DragonFly__ || defined __ANDROID__ 33#if defined __sferror || defined __DragonFly__ || defined __ANDROID__
32 /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */ 34 /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */