jpeg includes nsprpub header files and thus needs to know about USE_PTHREADS for some platforms. Fixes SparcLinux.

This commit is contained in:
mcafee%netscape.com 1998-08-15 01:19:59 +00:00
Родитель 6eb1d7c982
Коммит 0acfe0629e
1 изменённых файлов: 6 добавлений и 0 удалений

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

@ -78,5 +78,11 @@ DEF_FILE = $(LIBRARY_NAME).def
TARGETS = $(LIBRARY) TARGETS = $(LIBRARY)
endif endif
include $(DEPTH)/config/rules.mk include $(DEPTH)/config/rules.mk
# 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