diff options
author | Ray Molenkamp <github@lazydodo.com> | 2020-02-06 06:03:06 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2020-02-06 06:03:06 +0300 |
commit | 02226ef653e1e871be6004a51f08b74c0c9dd8e4 (patch) | |
tree | ca663ba3d60b510e6d8c3b04ec0eee49d5bbf113 /source/blender/blenlib | |
parent | dc1db0791ec3b2d52e6734054a001814cd6998ee (diff) |
Code_Cleanup_Day/Windows: Clean-up windows API Level.
Not sure when this happened but apparently the lower bar is now windows 7 [1]
This patch bumps to API version to 0x0601 (Win7) and cleans up any uses that
worked around the globally set API version.
[1] https://www.blender.org/download/requirements/
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D6758
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/dynlib.c | 3 | ||||
-rw-r--r-- | source/blender/blenlib/intern/time.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenlib/intern/dynlib.c b/source/blender/blenlib/intern/dynlib.c index c648a212fef..2aceff45b3e 100644 --- a/source/blender/blenlib/intern/dynlib.c +++ b/source/blender/blenlib/intern/dynlib.c @@ -34,9 +34,6 @@ 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" diff --git a/source/blender/blenlib/intern/time.c b/source/blender/blenlib/intern/time.c index f7bcf303b4b..81b079a1f77 100644 --- a/source/blender/blenlib/intern/time.c +++ b/source/blender/blenlib/intern/time.c @@ -24,9 +24,6 @@ #include "PIL_time.h" #ifdef WIN32 -# ifndef _WIN32_WINNT -# define _WIN32_WINNT 0x501 /* Windows XP or newer */ -# endif # define WIN32_LEAN_AND_MEAN # include <windows.h> |