summaryrefslogtreecommitdiffstats
path: root/thirdparty/embree/common
diff options
context:
space:
mode:
authorTravis Lange <travislange12@gmail.com>2024-06-04 16:16:53 -0400
committerTravis Lange <travislange12@gmail.com>2024-06-04 16:16:53 -0400
commit093718899f44cc2523b1096b7ad2363114f63492 (patch)
treeccf5da4f3f57be1be77e81b7ae9ec560bbfa3b8d /thirdparty/embree/common
parentb7feebefabc2d48b0d4794cd31fc141f1caecc5c (diff)
downloadredot-engine-093718899f44cc2523b1096b7ad2363114f63492.tar.gz
Fixed use of undeclared identifier '__cpuidex' error on mingw
Diffstat (limited to 'thirdparty/embree/common')
-rw-r--r--thirdparty/embree/common/sys/sysinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/embree/common/sys/sysinfo.cpp b/thirdparty/embree/common/sys/sysinfo.cpp
index d01eab3c9d..4ecab05265 100644
--- a/thirdparty/embree/common/sys/sysinfo.cpp
+++ b/thirdparty/embree/common/sys/sysinfo.cpp
@@ -295,7 +295,7 @@ namespace embree
if (nIds >= 1) __cpuid (cpuid_leaf_1,0x00000001);
#if _WIN32
#if _MSC_VER && (_MSC_FULL_VER < 160040219)
-#else
+#elif defined(_MSC_VER)
if (nIds >= 7) __cpuidex(cpuid_leaf_7,0x00000007,0);
#endif
#else