Bug 854893 - define SK_USE_POSIX_THREADS for Linux and Android to avoid static initializers; r=jrmuizel

This commit is contained in:
Nathan Froyd 2013-03-26 11:05:19 -04:00
parent 35a385b767
commit 22b62c334e

View File

@ -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 \