+ try to fix a problem with min/max macros

This commit is contained in:
kelson42 2012-08-07 07:24:45 +00:00
parent dd1e6e17f0
commit 641177ae0e

View File

@ -29,7 +29,11 @@
#ifdef _WIN32 #ifdef _WIN32
# include <time.h> # include <time.h>
#define NOMINMAX
# include <windows.h> # include <windows.h>
#undef NOMINMAX
int gettimeofday(struct timeval* tp, void* tzp) { int gettimeofday(struct timeval* tp, void* tzp) {
DWORD t; DWORD t;
t = timeGetTime(); t = timeGetTime();