diff options
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 04a73d9b917..beb963a2af3 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -40,12 +40,15 @@ #include "zlib.h" /* wm_read_exotic() */ #ifdef WIN32 -# include <windows.h> /* need to include windows.h so _WIN32_IE is defined */ + /* Need to include windows.h so _WIN32_IE is defined. */ +# include <windows.h> # ifndef _WIN32_IE -# define _WIN32_IE 0x0400 /* minimal requirements for SHGetSpecialFolderPath on MINGW MSVC has this defined already */ + /* Minimal requirements for SHGetSpecialFolderPath on MINGW MSVC has this defined already. */ +# define _WIN32_IE 0x0400 # endif -# include <shlobj.h> /* for SHGetSpecialFolderPath, has to be done before BLI_winstuff - * because 'near' is disabled through BLI_windstuff */ + /* For SHGetSpecialFolderPath, has to be done before BLI_winstuff + * because 'near' is disabled through BLI_windstuff */ +# include <shlobj.h> # include "BLI_winstuff.h" #endif |