mirror of
https://github.com/google/benchmark.git
synced 2025-01-30 22:00:16 +08:00
Fixes compilation issue on Macs
ba141ac0d9
renamed OS_MACOSX -> BENCHMARK_OS_MACOSX,
except for an include guard in src/cycleclock.h
This commit is contained in:
parent
e2327733e6
commit
da80193de9
@ -26,7 +26,7 @@
|
|||||||
#include "benchmark/macros.h"
|
#include "benchmark/macros.h"
|
||||||
#include "internal_macros.h"
|
#include "internal_macros.h"
|
||||||
|
|
||||||
#if defined(OS_MACOSX)
|
#if defined(BENCHMARK_OS_MACOSX)
|
||||||
#include <mach/mach_time.h>
|
#include <mach/mach_time.h>
|
||||||
#endif
|
#endif
|
||||||
// For MSVC, we want to use '_asm rdtsc' when possible (since it works
|
// For MSVC, we want to use '_asm rdtsc' when possible (since it works
|
||||||
|
Loading…
Reference in New Issue
Block a user