From c742a818d558216512290c1602ffdd3bce3a1325 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 3 May 2016 11:48:56 +0200 Subject: [PATCH] profiling: suppress inferior version of UtilCpuGetTicks warning --- src/util-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util-cpu.c b/src/util-cpu.c index 9a5c25df13..655bffbd55 100644 --- a/src/util-cpu.c +++ b/src/util-cpu.c @@ -221,7 +221,7 @@ uint64_t UtilCpuGetTicks(void) #endif #else /* #if defined(__GNU__) */ -#warning Using inferior version of UtilCpuGetTicks +//#warning Using inferior version of UtilCpuGetTicks struct timeval now; gettimeofday(&now, NULL); val = (now.tv_sec * 1000000) + now.tv_usec; -- 2.47.2