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
path: root/source
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2019-02-16 21:42:55 +0300
committerRay Molenkamp <github@lazydodo.com>2019-02-16 21:42:55 +0300
commitd8293fd6be0c3a5a0e615bfd4717ecc36e19bd49 (patch)
tree33d68fd0dca7382a42a9561fac852aeca9047847 /source
parentb42892931944898cfb1f9f32cc3b75e70a385676 (diff)
Blenlib/Windows: Fix Build error with clang.
__cpuid comes from intrin.h which was implicitly included somewhere for msvc builds, but not for clang.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/intern/system.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/system.c b/source/blender/blenlib/intern/system.c
index 7a1ad41caa6..d6c3ee9f8fa 100644
--- a/source/blender/blenlib/intern/system.c
+++ b/source/blender/blenlib/intern/system.c
@@ -31,6 +31,7 @@
#if defined(__linux__) || defined(__APPLE__)
# include <execinfo.h>
#elif defined(WIN32)
+# include <intrin.h>
# include <windows.h>
# include <dbghelp.h>
#endif