From: Victor Julien Date: Tue, 3 May 2016 09:48:56 +0000 (+0200) Subject: profiling: suppress inferior version of UtilCpuGetTicks warning X-Git-Tag: suricata-3.1RC1~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c742a818d558216512290c1602ffdd3bce3a1325;p=thirdparty%2Fsuricata.git profiling: suppress inferior version of UtilCpuGetTicks warning --- 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;