From e8f7eeb5dcdd2296e5341a86f95734c1717fcbc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Blissing?= Date: Thu, 30 Nov 2017 12:47:57 +0100 Subject: [PATCH] Removed unnecessary define in FileUtils The define of _WIN32_WINNT was added to handle an error case from MinGW ,as described in commit 712ca432196cd797cc3c265adb2847465551461f This was later giving warnings and thus undefined for MinGW by commit 3bf6fb1778687c45d389b91675b55f709ef1f67b Since the two operations cancel each other out, they should be removed. --- src/osgDB/FileNameUtils.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/osgDB/FileNameUtils.cpp b/src/osgDB/FileNameUtils.cpp index 383638e93..34b740a86 100644 --- a/src/osgDB/FileNameUtils.cpp +++ b/src/osgDB/FileNameUtils.cpp @@ -19,9 +19,6 @@ #include #ifdef WIN32 -#if !defined(__MINGW32__) - #define _WIN32_WINNT 0x0500 -#endif #include #endif