[llvm] r250386 - Make windows.h less evil.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 15 02:38:45 PDT 2015
Author: d0k
Date: Thu Oct 15 04:38:45 2015
New Revision: 250386
URL: http://llvm.org/viewvc/llvm-project?rev=250386&view=rev
Log:
Make windows.h less evil.
Modified:
llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp
Modified: llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp?rev=250386&r1=250385&r2=250386&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp (original)
+++ llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp Thu Oct 15 04:38:45 2015
@@ -47,6 +47,9 @@
#include "llvm/Support/Signals.h"
#if defined(HAVE_DIA_SDK)
+#ifndef NOMINMAX
+#define NOMINMAX
+#endif
#include <Windows.h>
#endif
More information about the llvm-commits
mailing list