mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 854893 - define SK_USE_POSIX_THREADS for Linux and Android to avoid static initializers; r=jrmuizel
This commit is contained in:
parent
f5c9e21b7f
commit
8f87337324
@ -461,6 +461,7 @@ CPPSRCS += \
|
||||
$(NULL)
|
||||
|
||||
OS_CXXFLAGS += $(CAIRO_FT_CFLAGS)
|
||||
DEFINES += -DSK_USE_POSIX_THREADS=1
|
||||
else
|
||||
CPPSRCS += \
|
||||
SkDebug_stdio.cpp \
|
||||
@ -500,6 +501,10 @@ endif
|
||||
OS_CXXFLAGS += $(MOZ_PANGO_CFLAGS)
|
||||
endif
|
||||
|
||||
ifeq (Linux,$(OS_TARGET))
|
||||
DEFINES += -DSK_USE_POSIX_THREADS=1
|
||||
endif
|
||||
|
||||
ifeq (windows,$(MOZ_WIDGET_TOOLKIT))
|
||||
EXPORTS_skia += \
|
||||
include/config/sk_stdint.h \
|
||||
|
Loading…
Reference in New Issue
Block a user