Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-12-21 05:00:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-12-21 05:02:38 +0300
commit32be51dc66ae0e791970c8b7326afa16d60aa267 (patch)
treebc3c59d9b70f453e06917a3f47e6a6b9791df96f /source/blender/blenlib/intern/dynlib.c
parent6f224941408eda8930489fa440af9539a92badad (diff)
Cleanup: warnings (msvc)
Part of patch D1670 by @LazyDodo
Diffstat (limited to 'source/blender/blenlib/intern/dynlib.c')
-rw-r--r--source/blender/blenlib/intern/dynlib.c3
1 files changed, 2 insertions, 1 deletions
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 <windows.h>
#include "utf_winfunc.h"