1
0
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:
Anton Danielsson 2015-10-09 09:09:14 +02:00
parent a2f2a28b31
commit 8c71c307ac

View File

@ -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