1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-07 23:43:52 +00:00

Add include for built-in __get_cpuid() on gcc/clang.

This commit is contained in:
Bartosz Taudul 2019-07-10 02:09:19 +02:00
parent 90369335cf
commit a1ce5fc1f6

View File

@ -89,6 +89,10 @@ extern "C" typedef LONG (WINAPI *t_RtlGetVersion)( PRTL_OSVERSIONINFOW );
# include <sys/utsname.h>
#endif
#if !defined _WIN32 && !defined __CYGWIN__ && ( defined __i386 || defined _M_IX86 || defined __x86_64__ || defined _M_X64 )
# include <cpuid.h>
#endif
namespace tracy
{