0.2.0-dev Download ZIP
13 lines ·481 B Raw
| 1 | diff --git a/thirdparty/embree/common/sys/sysinfo.cpp b/thirdparty/embree/common/sys/sysinfo.cpp |
| 2 | index d5b653fe5a..4583e49b1c 100644 |
| 3 | --- a/thirdparty/embree/common/sys/sysinfo.cpp |
| 4 | +++ b/thirdparty/embree/common/sys/sysinfo.cpp |
| 5 | @@ -295,7 +295,7 @@ namespace embree |
| 6 | if (nIds >= 1) __cpuid (cpuid_leaf_1,0x00000001); |
| 7 | #if _WIN32 |
| 8 | #if _MSC_VER && (_MSC_FULL_VER < 160040219) |
| 9 | -#else |
| 10 | +#elif defined(_MSC_VER) |
| 11 | if (nIds >= 7) __cpuidex(cpuid_leaf_7,0x00000007,0); |
| 12 | #endif |
| 13 | #else |