mirror of
https://github.com/google/benchmark.git
synced 2025-03-27 04:27:12 +08:00
Fixed OS macros changed in previous pull request.
This commit is contained in:
parent
a2f2a28b31
commit
8c71c307ac
@ -25,7 +25,7 @@
|
||||
#include <sys/types.h> // this header must be included before 'sys/sysctl.h' to avoid compilation error on FreeBSD
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
#if defined OS_FREEBSD || defined OS_MACOSX
|
||||
#if defined BENCHMARK_OS_FREEBSD || defined BENCHMARK_OS_MACOSX
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user