mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 794510: Part 1 - Build with NO_NSPR_10_SUPPORT by default; r=ehsan,glandium,wtc
This commit is contained in:
parent
bcc1ba760b
commit
8c55998b7e
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -25,5 +25,4 @@ include $(topsrcdir)/config/rules.mk
|
||||
DEFINES += \
|
||||
-DJSFILE \
|
||||
-DJS_THREADSAFE \
|
||||
-DNO_NSPR_10_SUPPORT \
|
||||
$(NULL)
|
||||
|
@ -50,10 +50,6 @@ endif
|
||||
|
||||
LIBS += $(NSPR_LIBS)
|
||||
|
||||
DEFINES += \
|
||||
-DNO_NSPR_10_SUPPORT \
|
||||
$(NULL)
|
||||
|
||||
NSDISTMODE = copy
|
||||
|
||||
ifdef _MSC_VER
|
||||
|
@ -91,7 +91,6 @@ DEFINES += \
|
||||
-DJSFILE \
|
||||
-DJS_THREADSAFE \
|
||||
-DEXPORT_XPC_API \
|
||||
-DNO_NSPR_10_SUPPORT \
|
||||
$(NULL)
|
||||
|
||||
ifdef MOZ_JSDEBUGGER
|
||||
|
@ -27,8 +27,4 @@ LOCAL_INCLUDES = \
|
||||
-I$(srcdir)/../src \
|
||||
-I$(srcdir)/../../../dom/base \
|
||||
|
||||
DEFINES += \
|
||||
-DNO_NSPR_10_SUPPORT \
|
||||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
@ -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"
|
||||
|
||||
|
@ -20,7 +20,6 @@ EXPORTS = \
|
||||
|
||||
DEFINES += \
|
||||
-D_IMPL_NS_WIDGET \
|
||||
-DNO_NSPR_10_SUPPORT=1 \
|
||||
$(NULL)
|
||||
|
||||
CPPSRCS = \
|
||||
|
Loading…
Reference in New Issue
Block a user