From 44b610a614260782c6c3fcbf719806bc20649374 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 15 Oct 2015 09:38:45 +0000 Subject: [PATCH] Make windows.h less evil. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250386 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-pdbdump/llvm-pdbdump.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/llvm-pdbdump/llvm-pdbdump.cpp b/tools/llvm-pdbdump/llvm-pdbdump.cpp index 5ef263d2081..0e3f0b281fe 100644 --- a/tools/llvm-pdbdump/llvm-pdbdump.cpp +++ b/tools/llvm-pdbdump/llvm-pdbdump.cpp @@ -47,6 +47,9 @@ #include "llvm/Support/Signals.h" #if defined(HAVE_DIA_SDK) +#ifndef NOMINMAX +#define NOMINMAX +#endif #include #endif -- 2.34.1