aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-11-06 00:19:46 -0800
committerGuy Harris <guy@alum.mit.edu>2019-11-06 00:19:46 -0800
commit9d500076696f07f1f8def0466863e03a3fb6a3ce (patch)
tree727b63cdb7ac622157b3bc62343852f88893d554
parenta090f9ea4fb23f36472bafbd2bb5b3d8e9a7be33 (diff)
Yes, we want to define _WIN32_WINNT as 0x0600; do so.
Not doing so causes warnings about inet_ntop() not being declared.
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c4ee9a9b..beafd911 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -148,9 +148,9 @@ endif(MSVC)
# a newer version of the C library, i.e. Visual Studio 2015 or
# later, as it depends on C99 features introduced in VS 2015.
#
-#if(MINGW)
-# add_definitions(-D_WIN32_WINNT=0x0600)
-#endif(MINGW)
+if(MINGW)
+ add_definitions(-D_WIN32_WINNT=0x0600)
+endif(MINGW)
#
# Build all runtimes in the top-level binary directory; that way,