From d8a0a3c0c22619a782d3445006e9369dcd600731 Mon Sep 17 00:00:00 2001 From: Yaron Keren Date: Thu, 4 Dec 2014 21:46:50 +0000 Subject: [PATCH] Silence warning: "NOMINMAX" redefined. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223391 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/MSVCToolChain.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Driver/MSVCToolChain.cpp b/lib/Driver/MSVCToolChain.cpp index b822b7d57c..d6bd5c31ae 100644 --- a/lib/Driver/MSVCToolChain.cpp +++ b/lib/Driver/MSVCToolChain.cpp @@ -31,7 +31,9 @@ #ifdef USE_WIN32 #define WIN32_LEAN_AND_MEAN #define NOGDI - #define NOMINMAX + #ifndef NOMINMAX + #define NOMINMAX + #endif #include #endif -- 2.40.0