aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/win32_port.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/win32_port.h')
-rw-r--r--src/include/port/win32_port.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/port/win32_port.h b/src/include/port/win32_port.h
index 79451a00f96..707f8760cab 100644
--- a/src/include/port/win32_port.h
+++ b/src/include/port/win32_port.h
@@ -179,11 +179,10 @@
#define SIGUSR1 30
#define SIGUSR2 31
-/* MinW has gettimeofday(), but MSVC doesn't */
+/* MinGW has gettimeofday(), but MSVC doesn't */
#ifdef _MSC_VER
-struct timezone;
/* Last parameter not used */
-extern int gettimeofday(struct timeval *tp, struct timezone *tzp);
+extern int gettimeofday(struct timeval *tp, void *tzp);
#endif
/* for setitimer in backend/port/win32/timer.c */