From 32e2d7287fb58e7b4e8d56a37e2da4e9d87eded2 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 1 Jun 2013 10:07:22 +0300 Subject: Fix compilation error on MinGW64 due to nt/inc/sys/time.h. nt/inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to avoid multiple definition errors on MinGW64. --- nt/inc/sys/time.h | 1 + 1 file changed, 1 insertion(+) (limited to 'nt/inc/sys') diff --git a/nt/inc/sys/time.h b/nt/inc/sys/time.h index e586aaee07e..308748437d4 100644 --- a/nt/inc/sys/time.h +++ b/nt/inc/sys/time.h @@ -28,6 +28,7 @@ struct timeval #endif /* _W64 */ #ifndef _TIMEZONE_DEFINED +#define _TIMEZONE_DEFINED struct timezone { int tz_minuteswest; /* minutes west of Greenwich */ -- cgit v1.2.1