From 0cf9cae7f3a2a1056117970d32ff2824bfdf0d26 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 29 Feb 2016 10:48:51 +0100 Subject: [PATCH] - added some #pragma warnings to i_crash.cpp to silence a warning message in Microsoft's headers. --- src/win32/i_crash.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/win32/i_crash.cpp b/src/win32/i_crash.cpp index 0735e3553b..70d10fa300 100644 --- a/src/win32/i_crash.cpp +++ b/src/win32/i_crash.cpp @@ -45,7 +45,13 @@ #include #endif #ifndef __GNUC__ +#if _MSC_VER +#pragma warning(disable:4091) // this silences a warning for a bogus definition in the Windows 8.1 SDK. +#endif #include +#if _MSC_VER +#pragma warning(default:4091) +#endif #endif #include #include