diff --git a/benchmarks/commons/benchmark_tools.c b/benchmarks/commons/benchmark_tools.c index 8df8010..561c495 100644 --- a/benchmarks/commons/benchmark_tools.c +++ b/benchmarks/commons/benchmark_tools.c @@ -20,7 +20,7 @@ #include #include -#if WIN32 +#ifdef GMIO_OS_WIN # include # define BENCHMARK_TIMER_WINDOWS #else @@ -364,7 +364,7 @@ void benchmark_print_results( header.component_1 != NULL ? header.component_1 : ""; const char* header_comp2 = header.component_2 != NULL ? header.component_2 : ""; - const char* header_ratio = ""; + const char header_ratio[] = "ratio"; const size_t width_tag_col = find_maxlen_cmp_result_tag(result_array); const size_t width_func1_col =