Skip to content
Snippets Groups Projects
Commit 1aa0af79 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 c9a68d89
No related branches found
No related tags found
1 merge request!1500TB 43415: Rebased onto 134.0a1
......@@ -624,11 +624,11 @@ with only_when(depends(c_compiler)(lambda c: c.type == "clang-cl")):
add_linker_flag("-LARGEADDRESSAWARE")
add_linker_flag("-SAFESEH")
# avoid conficts with std::min/max
set_define("NOMINMAX", True)
set_define("WIN32_LEAN_AND_MEAN", True)
# See http://support.microsoft.com/kb/143208 to use STL
set_define("NOMINMAX", True)
set_define("WIN32_LEAN_AND_MEAN", True)
with only_when(target_is_windows & depends(c_compiler)(lambda c: c.type != "clang-cl")):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment