diff --git a/src/xpdev/genwrap.h b/src/xpdev/genwrap.h index 76972d29ddc4a95d70cedab7870ab0015a234d20..15d54a1c1d89b3974180390dbdcbf9ea0729c485 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