mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-25 13:19:59 -04:00
+ try to fix a problem with min/max macros
This commit is contained in:
parent
dd1e6e17f0
commit
641177ae0e
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user