From 90e7cf000e0b7c62a13569fac481e514b6367d23 Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Mon, 12 Oct 2015 09:50:01 -0700 Subject: [PATCH] Update macro names in comments. --- src/sleep.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sleep.cc b/src/sleep.cc index cc640972..918abc48 100644 --- a/src/sleep.cc +++ b/src/sleep.cc @@ -30,7 +30,7 @@ void SleepForMilliseconds(int milliseconds) { Sleep(milliseconds); } void SleepForSeconds(double seconds) { SleepForMilliseconds(static_cast(kNumMillisPerSecond * seconds)); } -#else // OS_WINDOWS +#else // BENCHMARK_OS_WINDOWS void SleepForMicroseconds(int microseconds) { struct timespec sleep_time; sleep_time.tv_sec = microseconds / kNumMicrosPerSecond; @@ -46,5 +46,5 @@ void SleepForMilliseconds(int milliseconds) { void SleepForSeconds(double seconds) { SleepForMicroseconds(static_cast(seconds * kNumMicrosPerSecond)); } -#endif // OS_WINDOWS +#endif // BENCHMARK_OS_WINDOWS } // end namespace benchmark