diff --git a/bench/latency.cpp b/bench/latency.cpp index f63251e3..1999317a 100644 --- a/bench/latency.cpp +++ b/bench/latency.cpp @@ -121,7 +121,7 @@ int main(int argc, char *argv[]) { tracing_null_logger_st->enable_backtrace(64); benchmark::RegisterBenchmark("null_sink_st/backtrace", bench_logger, tracing_null_logger_st); -#ifdef __linux +#ifdef __linux__ bench_dev_null(); #endif // __linux__