mirror of
https://github.com/google/benchmark.git
synced 2025-01-30 13:50:15 +08:00
Merge pull request #152 from mdavezac/master
Fixes compilation issue on Macs
This commit is contained in:
commit
f7022075e0
@ -26,7 +26,7 @@
|
||||
#include "benchmark/macros.h"
|
||||
#include "internal_macros.h"
|
||||
|
||||
#if defined(OS_MACOSX)
|
||||
#if defined(BENCHMARK_OS_MACOSX)
|
||||
#include <mach/mach_time.h>
|
||||
#endif
|
||||
// For MSVC, we want to use '_asm rdtsc' when possible (since it works
|
||||
|
Loading…
Reference in New Issue
Block a user