diff options
Diffstat (limited to 'win32port/win32helpers/gettimeofday.h')
-rw-r--r-- | win32port/win32helpers/gettimeofday.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/win32port/win32helpers/gettimeofday.h b/win32port/win32helpers/gettimeofday.h index fc22308..223ceee 100644 --- a/win32port/win32helpers/gettimeofday.h +++ b/win32port/win32helpers/gettimeofday.h @@ -1,7 +1,14 @@ #ifndef _GET_TIME_OF_DAY_H
#define _GET_TIME_OF_DAY_H
+#ifdef __MINGW64__
+#else
+#ifdef __MINGW32__
+#else
#include < time.h >
+#endif
+#endif
+
#include <windows.h> //I've ommited context line.
#if defined(_MSC_VER) || defined(_MSC_EXTENSIONS)
#define DELTA_EPOCH_IN_MICROSECS 11644473600000000Ui64
@@ -18,4 +25,4 @@ struct timezone int gettimeofday(struct timeval *tv, struct timezone *tz);
-#endif
\ No newline at end of file +#endif
|