Skip to content

Commit

Permalink
Fixed use of undeclared identifier '__cpuidex' error on mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
TCROC committed May 28, 2024
1 parent b7feebe commit 565054a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thirdparty/embree/common/sys/sysinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 565054a

Please sign in to comment.