Skip to content
Snippets Groups Projects
Verified Commit 1aab96c4 authored by Marco Simonelli's avatar Marco Simonelli Committed by ma1
Browse files

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

- properly define NOMINMAX for just MSVC builds
parent af53f3e4
No related branches found
No related tags found
1 merge request!1326Bug 43383: Rebased legacy onto 115.19.0esr
......@@ -424,11 +424,13 @@ case "$target" in
MOZ_OPTIMIZE_FLAGS="-O2"
MOZ_FIX_LINK_PATHS=
LDFLAGS="$LDFLAGS -LARGEADDRESSAWARE"
# avoid conficts with std::min/max
AC_DEFINE(NOMINMAX)
fi
AC_DEFINE(HAVE__MSIZE)
AC_DEFINE(WIN32_LEAN_AND_MEAN)
dnl See http://support.microsoft.com/kb/143208 to use STL
AC_DEFINE(NOMINMAX)
BIN_SUFFIX='.exe'
case "$host_os" in
......
......@@ -490,10 +490,12 @@ case "$target" in
MOZ_OPTIMIZE_FLAGS='-O2'
MOZ_FIX_LINK_PATHS=
LDFLAGS="$LDFLAGS -LARGEADDRESSAWARE"
# avoid conficts with std::min/max
AC_DEFINE(NOMINMAX)
fi
AC_DEFINE(WIN32_LEAN_AND_MEAN)
dnl See http://support.microsoft.com/kb/143208 to use STL
AC_DEFINE(NOMINMAX)
BIN_SUFFIX='.exe'
case "$host_os" in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment