summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-07-28 17:21:53 +0300
committerEli Zaretskii <eliz@gnu.org>2018-07-28 17:21:53 +0300
commitbd52f37cae3fbc25e576f9b0a1ba42596790965f (patch)
treee86b9a18ecaaa235a8e11023a9169b52f9656986 /lib-src
parent024d20f81e643fe1739d28d16501a8c4f7a860c6 (diff)
downloademacs-bd52f37cae3fbc25e576f9b0a1ba42596790965f.tar.gz
; Fix last change: only MinGW runtime 5.0.2 and later needs that.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/pop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/pop.c b/lib-src/pop.c
index 0b9204576bd..731f951fd14 100644
--- a/lib-src/pop.c
+++ b/lib-src/pop.c
@@ -30,7 +30,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include "ntlib.h"
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0501 /* for getaddrinfo stuff */
-#if defined __MINGW32_VERSION && __MINGW32_VERSION >= 5000000L
+#if defined __MINGW32_VERSION && __MINGW32_VERSION >= 5000002L
# include <windows.h>
#else
# include <winsock2.h>