Fix cross-building on Linux

This commit is contained in:
darealshinji 2015-11-06 21:53:44 +01:00
parent d60baf64df
commit f51e3847b6

View file

@ -56,7 +56,7 @@
#else //__GNUC__ #else //__GNUC__
//TODO: we assume !GCC => Windows... this may be bad //TODO: we assume !GCC => Windows... this may be bad
#include <Windows.h> #include <windows.h>
#define CLOCK_T struct _FILETIME #define CLOCK_T struct _FILETIME
#define GET_TIME(clock_t) GetSystemTimeAsFileTime(clock_t) #define GET_TIME(clock_t) GetSystemTimeAsFileTime(clock_t)