jpeg includes nsprpub header files and thus needs to know about USE_PTHREADS for some platforms. Fixes SparcLinux.
git-svn-id: svn://10.0.0.236/trunk@8059 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -78,5 +78,11 @@ DEF_FILE = $(LIBRARY_NAME).def
|
||||
TARGETS = $(LIBRARY)
|
||||
endif
|
||||
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user