cpuid works for any os w/ gcc + x86|x64
This commit is contained in:
parent
7bfcc25b6f
commit
7ddee1ca1a
|
@ -490,7 +490,7 @@ typedef struct {
|
||||||
sigar_uint32_t edx;
|
sigar_uint32_t edx;
|
||||||
} sigar_cpuid_t;
|
} sigar_cpuid_t;
|
||||||
|
|
||||||
#if defined(__linux__) || defined(DARWIN)
|
#if defined(__GNUC__)
|
||||||
|
|
||||||
# if defined(__i386__)
|
# if defined(__i386__)
|
||||||
# define SIGAR_HAS_CPUID
|
# define SIGAR_HAS_CPUID
|
||||||
|
|
Loading…
Reference in New Issue