]> git.pond.sub.org Git - empserver/blobdiff - m4/my_windows_api.m4
w32: Modernize for MinGW 6.0.0, and clean up
[empserver] / m4 / my_windows_api.m4
index 63a2af622a4c48dd9fb12a9d8470ce7c92a8f21b..7bcabfc6f0f95f658742f817e8bf80371d5d5baa 100644 (file)
@@ -12,6 +12,8 @@ AC_DEFUN([MY_WINDOWS_API],
                AC_DEFINE([WINDOWS], 1, [Define if compiling for Windows API])
                AC_DEFINE([WIN32_LEAN_AND_MEAN], 1,
                        [Define to make Windows includes pull in less junk])
+               AC_DEFINE([_WIN32_WINNT], 0x0601,
+                       [Request Windows 7])
                LIBS_SOCKETS="-lws2_32"
        else
                LIBS_SOCKETS=