Commit 8d0a032f authored by Marco Simonelli's avatar Marco Simonelli Committed by Pier Angelo Vendrame
Browse files

BB 41459: WebRTC fails to build under mingw (Part 1)

- properly define NOMINMAX for just MSVC builds
parent aebaa4b1
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -547,6 +547,7 @@ with only_when(depends(c_compiler)(lambda c: c.type == "clang-cl")):

set_define("WIN32_LEAN_AND_MEAN", True)

with only_when(depends(c_compiler)(lambda c: c.type == "clang-cl")):
    # See http://support.microsoft.com/kb/143208 to use STL
    set_define("NOMINMAX", True)