Added USE_PTHREADS for the pthreads build. Deleted obsolete

macro define -D_PR_NTHREAD.
This commit is contained in:
wtc%netscape.com 1998-10-08 21:43:43 +00:00
Родитель 720603c4f7
Коммит a7c4272a66
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -155,13 +155,19 @@ endif
ifeq ($(FORCE_SW_THREADS),1)
USE_KERNEL_THREADS = 0
USE_PTHREADS = 0
endif
ifeq ($(USE_KERNEL_THREADS),1)
PORT_FLAGS += -D_PR_NTHREAD -D_REENTRANT
PORT_FLAGS += -D_REENTRANT
THREAD_LIB = -lthread
endif
ifeq ($(USE_PTHREADS),1)
PORT_FLAGS += -D_REENTRANT
THREAD_LIB = -lpthread
endif
#
# An nm command which generates an output like:
# archive.a:object.o: 0000003 T symbol