mirror of
https://github.com/google/benchmark.git
synced 2025-02-05 08:40:17 +08:00
Rename OS_MACOSX macro to new name BENCHMARK_OS_MACOSX. Fix #169
This commit is contained in:
parent
0a1f4849a6
commit
f662e8be5b
@ -54,7 +54,7 @@ namespace benchmark {
|
||||
namespace cycleclock {
|
||||
// This should return the number of cycles since power-on. Thread-safe.
|
||||
inline BENCHMARK_ALWAYS_INLINE int64_t Now() {
|
||||
#if defined(OS_MACOSX)
|
||||
#if defined(BENCHMARK_OS_MACOSX)
|
||||
// this goes at the top because we need ALL Macs, regardless of
|
||||
// architecture, to return the number of "mach time units" that
|
||||
// have passed since startup. See sysinfo.cc where
|
||||
|
Loading…
Reference in New Issue
Block a user