Bug 711611 - NSPR's obsolete int32, int64, etc. types get defined without an opt-out #define -- add that #define to SpiderMonkey so int32/etc. can't be (mis-)used. r=bhackett
authorJeff Walden <jwalden@mit.edu>
Fri, 16 Dec 2011 17:03:07 -0500
changeset 82838 020e3a98f85e
parent 82837 4726e2ddf570
child 82839 7121c07c3e7f
push id4144
push userjwalden@mit.edu
push date2011-12-17 01:02 +0000
treeherdermozilla-inbound@020e3a98f85e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhackett
bugs711611
milestone11.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 711611 - NSPR's obsolete int32, int64, etc. types get defined without an opt-out #define -- add that #define to SpiderMonkey so int32/etc. can't be (mis-)used. r=bhackett
js/src/Makefile.in
--- a/js/src/Makefile.in
+++ b/js/src/Makefile.in
@@ -722,16 +722,19 @@ endif
 ifdef JS_NO_THIN_LOCKS
 DEFINES		+= -DJS_USE_ONLY_NSPR_LOCKS
 endif
 
 ifdef JS_VERSION
 DEFINES		+= -DJS_VERSION=$(JS_VERSION)
 endif
 
+# We do not want to have obsolete NSPR functionality in threadsafe builds.
+DEFINES   += -DNO_NSPR_10_SUPPORT
+
 ifneq ($(findstring -L,$(NSPR_LIBS)),)
 NSPR_STATIC_PATH = $(subst -L,,$(findstring -L,$(NSPR_LIBS)))
 else
 NSPR_STATIC_PATH = $(DIST)/lib
 endif
 
 ifdef MOZ_VTUNE
 CXXFLAGS += -IC:/Program\ Files/Intel/VTune/Analyzer/Include