emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master b3cf281: Unbreak the MinGW build


From: Eli Zaretskii
Subject: [Emacs-diffs] master b3cf281: Unbreak the MinGW build
Date: Fri, 16 Dec 2016 10:51:53 +0000 (UTC)

branch: master
commit b3cf281174674ced4e167081e6908b2b0ee29deb
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Unbreak the MinGW build
    
    * lib/stdio-impl.h [__MINGW32__]: Don't include errno.h.  Without
    this, temacs crashes while dumping.
---
 lib/stdio-impl.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h
index 766d693..1972a33 100644
--- a/lib/stdio-impl.h
+++ b/lib/stdio-impl.h
@@ -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 */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]