1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

; Fix last change: only MinGW runtime 5.0.2 and later needs that.

This commit is contained in:
Eli Zaretskii 2018-07-28 17:21:53 +03:00
parent 024d20f81e
commit bd52f37cae
3 changed files with 3 additions and 3 deletions

View file

@ -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>