From e00f5691bf79ff16173cf28298c8e5e2048bf0a5 Mon Sep 17 00:00:00 2001 From: Hugues Delorme Date: Fri, 25 Mar 2016 12:29:03 +0100 Subject: [PATCH] benchmarks: add name for the ratio column --- benchmarks/commons/benchmark_tools.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 =