diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-07-12 10:05:59 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-07-12 10:05:59 +0000 |
commit | f89df87bd91c2b2d85ca74b1bd348b08874c98dc (patch) | |
tree | cd1c77fac41b9480206c4665e8b802ad15a7e122 /Build/source/texk/web2c/luatexdir/luasocket/src | |
parent | ec1dcd7d2b78d34b08c070e8de858090e17fa0da (diff) |
LuaTeX: Adoid MINGW64 compiler warnings (redefining _WIN32_WINNT)
git-svn-id: svn://tug.org/texlive/trunk@34576 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luasocket/src')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luasocket/src/wsocket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luasocket/src/wsocket.h b/Build/source/texk/web2c/luatexdir/luasocket/src/wsocket.h index 2a1db71a80e..624dd79bf17 100644 --- a/Build/source/texk/web2c/luatexdir/luasocket/src/wsocket.h +++ b/Build/source/texk/web2c/luatexdir/luasocket/src/wsocket.h @@ -8,7 +8,7 @@ /*=========================================================================*\ * WinSock include files \*=========================================================================*/ -#if defined(__MINGW32__) +#if defined(__MINGW32__) && (!defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0501)) #define _WIN32_WINNT 0x0501 #endif #include <winsock2.h> |