Bug 794510: Part 1 - Build with NO_NSPR_10_SUPPORT by default; r=ehsan,glandium,wtc

This commit is contained in:
Isaac Aggrey 2012-10-11 01:00:54 -05:00
parent bcc1ba760b
commit 8c55998b7e
9 changed files with 4 additions and 18 deletions

View File

@ -823,3 +823,5 @@ export CL_INCLUDES_PREFIX
ifeq ($(MOZ_WIDGET_GTK),2)
MOZ_GTK2_CFLAGS := -I$(topsrcdir)/widget/gtk2/compat $(MOZ_GTK2_CFLAGS)
endif
DEFINES += -DNO_NSPR_10_SUPPORT

View File

@ -675,9 +675,6 @@ 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

View File

@ -823,3 +823,5 @@ export CL_INCLUDES_PREFIX
ifeq ($(MOZ_WIDGET_GTK),2)
MOZ_GTK2_CFLAGS := -I$(topsrcdir)/widget/gtk2/compat $(MOZ_GTK2_CFLAGS)
endif
DEFINES += -DNO_NSPR_10_SUPPORT

View File

@ -25,5 +25,4 @@ include $(topsrcdir)/config/rules.mk
DEFINES += \
-DJSFILE \
-DJS_THREADSAFE \
-DNO_NSPR_10_SUPPORT \
$(NULL)

View File

@ -50,10 +50,6 @@ endif
LIBS += $(NSPR_LIBS)
DEFINES += \
-DNO_NSPR_10_SUPPORT \
$(NULL)
NSDISTMODE = copy
ifdef _MSC_VER

View File

@ -91,7 +91,6 @@ DEFINES += \
-DJSFILE \
-DJS_THREADSAFE \
-DEXPORT_XPC_API \
-DNO_NSPR_10_SUPPORT \
$(NULL)
ifdef MOZ_JSDEBUGGER

View File

@ -27,8 +27,4 @@ LOCAL_INCLUDES = \
-I$(srcdir)/../src \
-I$(srcdir)/../../../dom/base \
DEFINES += \
-DNO_NSPR_10_SUPPORT \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@ -2,10 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifdef NO_NSPR_10_SUPPORT
#undef NO_NSPR_10_SUPPORT
#endif
#include "NSPRFormatTime.h" // must include before any headers that include prtime.h
#include "nsAppRunner.h"

View File

@ -20,7 +20,6 @@ EXPORTS = \
DEFINES += \
-D_IMPL_NS_WIDGET \
-DNO_NSPR_10_SUPPORT=1 \
$(NULL)
CPPSRCS = \