about summary refs log tree commit diff
path: root/absl/debugging/symbolize_win32.inc
diff options
context:
space:
mode:
Diffstat (limited to 'absl/debugging/symbolize_win32.inc')
-rw-r--r--absl/debugging/symbolize_win32.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/absl/debugging/symbolize_win32.inc b/absl/debugging/symbolize_win32.inc
index 17ea618a77de..7ed3bd3a1b06 100644
--- a/absl/debugging/symbolize_win32.inc
+++ b/absl/debugging/symbolize_win32.inc
@@ -16,7 +16,13 @@
 // https://msdn.microsoft.com/en-us/library/windows/desktop/ms680578(v=vs.85).aspx
 
 #include <windows.h>
+
+// MSVC header DbgHelp.h has a warning for an ignored typedef.
+#pragma warning(push)
+#pragma warning(disable:4091)
 #include <DbgHelp.h>
+#pragma warning(pop)
+
 #pragma comment(lib, "DbgHelp")
 
 #include <algorithm>