summaryrefslogtreecommitdiff
path: root/src/os/windows
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2015-08-10 20:21:29 +0000
committermichi_cc <michi_cc@openttd.org>2015-08-10 20:21:29 +0000
commit35b77450f80580da2aa7f087aa2a1631b92ebd62 (patch)
tree375c4648c1566b3cfc715e894764fdd26763e162 /src/os/windows
parente5d105900ddcb82bc2adf7accb4be010e3b20113 (diff)
downloadopenttd-35b77450f80580da2aa7f087aa2a1631b92ebd62.tar.xz
(svn r27380) -Fix: [Win32] Compilation with MSVC2015.
Diffstat (limited to 'src/os/windows')
-rw-r--r--src/os/windows/crashlog_win.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/windows/crashlog_win.cpp b/src/os/windows/crashlog_win.cpp
index 6e28cdba6..1abb0e725 100644
--- a/src/os/windows/crashlog_win.cpp
+++ b/src/os/windows/crashlog_win.cpp
@@ -322,7 +322,9 @@ static char *PrintModuleInfo(char *output, const char *last, HMODULE mod)
}
#if defined(_MSC_VER)
+#pragma warning(disable:4091)
#include <dbghelp.h>
+#pragma warning(default:4091)
char *CrashLogWindows::AppendDecodedStacktrace(char *buffer, const char *last) const
{