зеркало из https://github.com/mozilla/gecko-dev.git
Restored the -D_THREAD_SAFE macro define that I incorrectly deleted
in the previous revision. The -pthread flag does not define _THREAD_SAFE. Thanks to Jeremy Lea <reg@shale.csir.co.za> for pointing this out.
This commit is contained in:
Родитель
498e57f820
Коммит
6496ce1075
|
@ -37,6 +37,7 @@ OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe $(THREAD_FLAG) -DF
|
|||
|
||||
ifeq ($(USE_PTHREADS),1)
|
||||
IMPL_STRATEGY = _PTH
|
||||
DEFINES += -D_THREAD_SAFE
|
||||
THREAD_FLAG += -pthread
|
||||
else
|
||||
IMPL_STRATEGY = _EMU
|
||||
|
|
Загрузка…
Ссылка в новой задаче