summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpuinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpuinfo.c b/cpuinfo.c
index e6526ea62c..ad9a49c42e 100644
--- a/cpuinfo.c
+++ b/cpuinfo.c
@@ -8,7 +8,7 @@
#include <string.h>
#include <unistd.h>
-#if defined(__MINGW32__) && (__MINGW32_MAJOR_VERSION <= 3) && (__MINGW32_MINOR_VERSION < 10)
+#if defined(__MINGW32__) && (__MINGW32_MAJOR_VERSION <= 3) && (__MINGW32_MINOR_VERSION < 10) && !defined(MINGW64)
#include <sys/timeb.h>
void gettimeofday(struct timeval* t,void* timezone) {
struct timeb timebuffer;