tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit a8d1468fd6ce4eee3c183c6069b79da31c8780bd
parent 515a2528067fcd88d17a57bf43d73180bc4f9195
Author: Marco Simonelli <msimonelli@protonmail.com>
Date:   Fri, 10 Mar 2023 11:55:36 +0000

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

- properly define NOMINMAX for just MSVC builds

Diffstat:
Mbuild/moz.configure/windows.configure | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/build/moz.configure/windows.configure b/build/moz.configure/windows.configure @@ -631,8 +631,9 @@ with only_when(depends(c_compiler)(lambda c: c.type == "clang-cl")): set_define("WIN32_LEAN_AND_MEAN", True) -# See http://support.microsoft.com/kb/143208 to use STL -set_define("NOMINMAX", 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) with only_when(target_is_windows & depends(c_compiler)(lambda c: c.type != "clang-cl")):