From f662e8be5bc9d40640e10b72092780b401612bf2 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Mon, 14 Dec 2015 15:02:30 -0700 Subject: [PATCH] Rename OS_MACOSX macro to new name BENCHMARK_OS_MACOSX. Fix #169 --- src/cycleclock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cycleclock.h b/src/cycleclock.h index f610067e..42541daf 100644 --- a/src/cycleclock.h +++ b/src/cycleclock.h @@ -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