From 32be51dc66ae0e791970c8b7326afa16d60aa267 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 21 Dec 2015 13:00:06 +1100 Subject: Cleanup: warnings (msvc) Part of patch D1670 by @LazyDodo --- source/blender/blenlib/intern/dynlib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/blenlib/intern/dynlib.c') diff --git a/source/blender/blenlib/intern/dynlib.c b/source/blender/blenlib/intern/dynlib.c index e916b01e859..b47c2ee60a6 100644 --- a/source/blender/blenlib/intern/dynlib.c +++ b/source/blender/blenlib/intern/dynlib.c @@ -42,8 +42,9 @@ struct DynamicLibrary { }; #ifdef WIN32 - +#ifndef _WIN32_WINNT #define _WIN32_WINNT 0x501 /* Windows XP or newer */ +#endif #define WIN32_LEAN_AND_MEAN #include #include "utf_winfunc.h" -- cgit v1.2.3