diff options
Diffstat (limited to 'physmap.c')
-rw-r--r-- | physmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -129,7 +129,7 @@ int setup_cpu_msr(int cpu) void cleanup_cpu_msr(void) { } -#elif defined(__DARWIN__) +#elif defined(__MACH__) && defined(__APPLE__) #define MEM_DEV "DirectHW" @@ -468,7 +468,7 @@ void cleanup_cpu_msr(void) #else -#ifdef __DARWIN__ +#if defined(__MACH__) && defined(__APPLE__) int setup_cpu_msr(int cpu) { // Always succeed for now |