summaryrefslogtreecommitdiff
path: root/src/compat/compat-gettimeofday.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat/compat-gettimeofday.c')
-rw-r--r--src/compat/compat-gettimeofday.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compat/compat-gettimeofday.c b/src/compat/compat-gettimeofday.c
index 0f32d5d..19feaae 100644
--- a/src/compat/compat-gettimeofday.c
+++ b/src/compat/compat-gettimeofday.c
@@ -32,7 +32,7 @@
#include "compat.h"
-#ifdef WIN32
+#ifdef _WIN32
/*
* NOTICE: mingw has much faster gettimeofday!
* autoconf will set HAVE_GETTIMEOFDAY
@@ -126,6 +126,6 @@ gettimeofday (struct timeval *tv, void *tz)
return 0;
}
-#endif /* WIN32 */
+#endif /* _WIN32 */
#endif /* HAVE_GETTIMEOFDAY */