From 3a7acee037aab8b5e91e441c724406ef9b1e65dd Mon Sep 17 00:00:00 2001 From: Guang <891528583@qq.com> Date: Sun, 15 Jul 2018 14:39:21 +0800 Subject: [PATCH] fix mingw build error --- benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark.c b/benchmark.c index 30f80e4..10492a4 100644 --- a/benchmark.c +++ b/benchmark.c @@ -27,7 +27,7 @@ #include -#ifdef WIN32 +#if defined(WIN32) && !defined(__GNUC__) #include static int gettimeofday(struct timeval *tp, void *tzp)