From bad38585d1dd5f8683c369bc21fb7addd23da67a Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 16 Sep 2013 14:41:46 +0000 Subject: removed not needed _MSC_VER checks git-svn-id: http://svn.miranda-ng.org/main/trunk@6089 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/modules.h | 4 +--- src/modules/utils/timezones.cpp | 14 -------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/core/modules.h b/src/core/modules.h index 9339d7add1..3bb9f1c1f5 100644 --- a/src/core/modules.h +++ b/src/core/modules.h @@ -24,9 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef MODULES_H_ #define MODULES_H_ -#ifdef _MSC_VER - #pragma warning(disable:4201) -#endif +#pragma warning(disable:4201) /* MAXMODULELABELLENGTH The maximum allowed length of a 'name' parameter. Very likely to change with diff --git a/src/modules/utils/timezones.cpp b/src/modules/utils/timezones.cpp index 8bcd80f4ac..f5f3c15291 100644 --- a/src/modules/utils/timezones.cpp +++ b/src/modules/utils/timezones.cpp @@ -27,20 +27,6 @@ simple UTC offsets. TIME_API tmi; -#if _MSC_VER < 1500 - typedef struct _TIME_DYNAMIC_ZONE_INFORMATION_T { - LONG Bias; - WCHAR StandardName[ 32 ]; - SYSTEMTIME StandardDate; - LONG StandardBias; - WCHAR DaylightName[ 32 ]; - SYSTEMTIME DaylightDate; - LONG DaylightBias; - WCHAR TimeZoneKeyName[ 128 ]; - BOOLEAN DynamicDaylightTimeDisabled; - } DYNAMIC_TIME_ZONE_INFORMATION; -#endif - typedef DWORD (WINAPI *pfnGetDynamicTimeZoneInformation_t)(DYNAMIC_TIME_ZONE_INFORMATION *pdtzi); static pfnGetDynamicTimeZoneInformation_t pfnGetDynamicTimeZoneInformation; -- cgit v1.2.3