Commit: 8aeb9d2158a4624c43219a0e2c01c322e88ff12e
Author: Mike Erwin
Date:   Sun Feb 8 12:41:45 2015 -0500
Branches: master
https://developer.blender.org/rB8aeb9d2158a4624c43219a0e2c01c322e88ff12e

minor Windows include tweak

Needed a minor change to test committing from a new development system.

===================================================================

M       source/blender/blenlib/intern/dynlib.c
M       source/blender/blenlib/intern/time.c

===================================================================

diff --git a/source/blender/blenlib/intern/dynlib.c 
b/source/blender/blenlib/intern/dynlib.c
index b66eda4..e916b01 100644
--- a/source/blender/blenlib/intern/dynlib.c
+++ b/source/blender/blenlib/intern/dynlib.c
@@ -43,6 +43,8 @@ struct DynamicLibrary {
 
 #ifdef WIN32
 
+#define _WIN32_WINNT 0x501 /* Windows XP or newer */
+#define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #include "utf_winfunc.h"
 #include "utfconv.h"
diff --git a/source/blender/blenlib/intern/time.c 
b/source/blender/blenlib/intern/time.c
index 3a20d3e..a0fb78c 100644
--- a/source/blender/blenlib/intern/time.c
+++ b/source/blender/blenlib/intern/time.c
@@ -33,6 +33,9 @@
 #include "PIL_time.h"
 
 #ifdef WIN32
+
+#define _WIN32_WINNT 0x501 /* Windows XP or newer */
+#define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 
 double PIL_check_seconds_timer(void)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to