Bug 830801 - Part 1. Set NOMINMAX define as default. r=mshal
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Mon, 03 Aug 2015 10:05:05 +0900
changeset 287461 e94582c6247b0fdd56b7d69a5018c60eb631787e
parent 287460 e3b8e08187adea5929230c32f7cf6d8d9c84b73c
child 287462 0450e3e2125e841a1f9fd05572792840e912d184
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs830801
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 830801 - Part 1. Set NOMINMAX define as default. r=mshal
configure.in
--- a/configure.in
+++ b/configure.in
@@ -2327,16 +2327,18 @@ ia64*-hpux*)
     AC_DEFINE(HAVE_SNPRINTF)
     AC_DEFINE(_WINDOWS)
     AC_DEFINE(WIN32)
     AC_DEFINE(XP_WIN)
     AC_DEFINE(XP_WIN32)
     AC_DEFINE(HW_THREADS)
     AC_DEFINE(STDC_HEADERS)
     AC_DEFINE(WIN32_LEAN_AND_MEAN)
+    dnl See http://support.microsoft.com/kb/143208 to use STL
+    AC_DEFINE(NOMINMAX)
     TARGET_MD_ARCH=win32
     _PLATFORM_DEFAULT_TOOLKIT='cairo-windows'
     BIN_SUFFIX='.exe'
     MOZ_USER_DIR="Mozilla"
 
     dnl Hardcode to win95 for now - cls
     TARGET_NSPR_MDCPUCFG='\"md/_win95.cfg\"'