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:
authorRay Molenkamp <github@lazydodo.com>2020-07-13 17:38:31 +0300
committerRay Molenkamp <github@lazydodo.com>2020-07-13 17:38:31 +0300
commit3dcc7c73e2d97c931136490238498520572d4ce0 (patch)
treea10f6cfb0b629b480ec39ede8f8553902c3c4eb0 /source/blender/blenlib
parent29da019cb3532524f336ecd2c33c837dce6a3ef3 (diff)
MSVC: Fix build error with the 8.1 SDK
shobjidl_core.h only exists in the windows 10 SDK in the 8.1 SDK ShObjIdl.h will have the definitions we need, which still exists in the 10 SDK and implicitly includes shobjidl_core.h. so ShObjIdl.h will work on both SDK versions.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c
index e3a2b6b4992..5b617c840b5 100644
--- a/source/blender/blenlib/intern/storage.c
+++ b/source/blender/blenlib/intern/storage.c
@@ -55,7 +55,7 @@
# include "utfconv.h"
# include <direct.h>
# include <io.h>
-# include <shobjidl_core.h>
+# include <ShObjIdl.h>
# include <stdbool.h>
#else
# include <pwd.h>