From 3d60e28ce573bfd28286d108eeb43ec29bf44d48 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 16 Sep 2013 14:27:58 +0000 Subject: removed not needed _MSC_VER checks removed double comstant from modern warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@6087 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CrashDumper/src/exhndlr.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'plugins/CrashDumper/src/exhndlr.cpp') diff --git a/plugins/CrashDumper/src/exhndlr.cpp b/plugins/CrashDumper/src/exhndlr.cpp index f39e955e64..cee6cb283c 100644 --- a/plugins/CrashDumper/src/exhndlr.cpp +++ b/plugins/CrashDumper/src/exhndlr.cpp @@ -32,13 +32,7 @@ void RemoveExceptionHandler(void) void UnloadDbgHlp(void) { -#ifdef _MSC_VER -#if _MSC_VER > 1200 __FUnloadDelayLoadedDLL2("dbghelp.dll"); -#else - __FUnloadDelayLoadedDLL("dbghelp.dll"); -#endif -#endif } int myDebugFilter(unsigned int code, PEXCEPTION_POINTERS ep) @@ -163,7 +157,6 @@ DWORD MirandaThreadFilter(DWORD code, EXCEPTION_POINTERS* info) return threadfltr(code, info); } -#if _MSC_VER >= 1400 void InvalidParameterHandler(const wchar_t*, const wchar_t*, const wchar_t*, unsigned int, UINT_PTR) { EXCEPTION_RECORD ExceptionRecord = {0}; @@ -191,13 +184,10 @@ void InvalidParameterHandler(const wchar_t*, const wchar_t*, const wchar_t*, uns myfilterWorker(&info, true); } -#endif void InitExceptionHandler(void) { -#if _MSC_VER >= 1400 _set_invalid_parameter_handler(InvalidParameterHandler); -#endif threadfltr = Miranda_SetExceptFilter(MirandaThreadFilter); SetExceptionHandler(); } -- cgit v1.2.3