diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-14 08:15:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-14 08:20:55 +0300 |
commit | a1d73d03eb91be72b0f10ff4a9c6eb00f04b97c6 (patch) | |
tree | 3e8ebea3ccb39f93dec36145200169de8acf8556 /source/blender/imbuf/intern/thumbs.c | |
parent | 63ee378fa96d1906adc8da3d318a73333f52b643 (diff) |
Cleanup: move comments above definitions
For clang-format not to wrap definitions.
Diffstat (limited to 'source/blender/imbuf/intern/thumbs.c')
-rw-r--r-- | source/blender/imbuf/intern/thumbs.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/imbuf/intern/thumbs.c b/source/blender/imbuf/intern/thumbs.c index fbc34264b30..ed7a9763322 100644 --- a/source/blender/imbuf/intern/thumbs.c +++ b/source/blender/imbuf/intern/thumbs.c @@ -61,12 +61,15 @@ #include <stdio.h> #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 <direct.h> /* chdir */ # include "BLI_winstuff.h" # include "utfconv.h" |