diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-16 14:41:46 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-16 14:41:46 +0000 |
commit | bad38585d1dd5f8683c369bc21fb7addd23da67a (patch) | |
tree | b1548589a857842a88979d89c6c0b15d034a7e54 /src | |
parent | 18fd4bec97159cbaa7501a8a1b67540e0865e88b (diff) |
removed not needed _MSC_VER checks
git-svn-id: http://svn.miranda-ng.org/main/trunk@6089 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r-- | src/core/modules.h | 4 | ||||
-rw-r--r-- | src/modules/utils/timezones.cpp | 14 |
2 files changed, 1 insertions, 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;
|