Browse Source
Merge pull request #3167 from xianyi/fix3126
Fix compilation of the benchmarks on older OSX versions
tags/v0.3.15
Martin Kroeker
GitHub
5 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
benchmark/bench.h
|
|
|
@@ -3,6 +3,8 @@ |
|
|
|
#include <time.h> |
|
|
|
#ifdef __CYGWIN32__ |
|
|
|
#include <sys/time.h> |
|
|
|
#elif defined(__APPLE__) |
|
|
|
#include <mach/mach_time.h> |
|
|
|
#endif |
|
|
|
#include "common.h" |
|
|
|
|
|
|
|
|