changeset 27774:61d7742bcb75

Make cpuinfo.c compile under MinGW64
author reimar
date Mon, 20 Oct 2008 18:08:10 +0000
parents 55571c85e40e
children 5ea38a20e74e
files cpuinfo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cpuinfo.c	Mon Oct 20 09:55:38 2008 +0000
+++ b/cpuinfo.c	Mon Oct 20 18:08:10 2008 +0000
@@ -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;