From 9c25ce1eac3363c1a10bdb6d92bcd977cadf1df1 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Mon, 23 Jun 2014 11:04:41 +0000 Subject: [PATCH] Use _tzname on mingw32 too. --- src/xpdev/genwrap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpdev/genwrap.h b/src/xpdev/genwrap.h index 76972d29dd..15d54a1c1d 100644 --- a/src/xpdev/genwrap.h +++ b/src/xpdev/genwrap.h @@ -277,7 +277,7 @@ DLLEXPORT int DLLCALL get_errno(void); #define SLEEP(x) Sleep(x) #define popen _popen #define pclose _pclose - #if !defined(_MSC_VER) /* Conflicts with latest (Windows 2003 R2) PlatformSDK include/time.h */ + #if !(defined(_MSC_VER) || defined(__MSVCRT__)) /* Conflicts with latest (Windows 2003 R2) PlatformSDK include/time.h */ #define tzname _tzname #endif -- GitLab