2024-06-04 16:16:53 -04:00
|
|
|
diff --git a/thirdparty/embree/common/sys/sysinfo.cpp b/thirdparty/embree/common/sys/sysinfo.cpp
|
2025-01-31 10:58:38 +01:00
|
|
|
index d5b653fe5a..4583e49b1c 100644
|
2024-06-04 16:16:53 -04:00
|
|
|
--- 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
|