cpuid works for any os w/ gcc + x86|x64

This commit is contained in:
Doug MacEachern 2008-04-11 02:58:44 +00:00
parent 7bfcc25b6f
commit 7ddee1ca1a
1 changed files with 1 additions and 1 deletions

View File

@ -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