Some libraries (jpeg, xpcom) include nsprpub header files and need to know about USE_PTHREADS for some platforms (SparcLinux/RH5.1).

This commit is contained in:
mcafee%netscape.com 1998-08-15 01:27:17 +00:00
parent dd7d28a33a
commit 220f75a65a

View File

@ -673,3 +673,9 @@ JAVA_DEFINES += -DAWT_11
else
JAVA_DEFINES += -DAWT_102
endif
# From nsprpub/config/config.mk, mozilla/jpeg needs to know
# about USE_PTHREADS. This fixes platforms like SparcLinux. -mcafee
ifeq ($(USE_PTHREADS), 1)
OS_CFLAGS += -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM
endif