зеркало из https://github.com/mozilla/pjs.git
Enable external parameter entity parsing in expat.
This commit is contained in:
Родитель
e545c2433e
Коммит
a2600badfc
|
@ -24,8 +24,6 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
DIRS = xmlparse xmltok # xmlwf
|
||||
|
||||
DEFINES += -DXML_DTD
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
|
|
@ -6,8 +6,6 @@ DIRS= xmltok xmlparse
|
|||
MODULE=raptor
|
||||
LIBRARY_NAME=expat
|
||||
|
||||
DEFINES=-DXML_DTD
|
||||
|
||||
OBJS= \
|
||||
.\xmlparse\$(OBJDIR)\hashtable.obj \
|
||||
.\xmlparse\$(OBJDIR)\xmlparse.obj \
|
||||
|
|
|
@ -28,8 +28,6 @@ ifdef MOZ_STRIP_NOT_EXPORTED
|
|||
DEFINES += -DXMLPARSEAPI="__attribute__ ((dllexport))"
|
||||
endif
|
||||
|
||||
DEFINES += -DXML_DTD
|
||||
|
||||
CSRCS = \
|
||||
hashtable.c \
|
||||
xmlparse.c \
|
||||
|
|
|
@ -18,17 +18,22 @@
|
|||
#
|
||||
|
||||
DEPTH= ..\..
|
||||
DEFINES=-DXML_DTD
|
||||
MODULE = expat
|
||||
EXPORTS = xmlparse.h
|
||||
|
||||
LINCS=-I..\xmltok
|
||||
|
||||
OBJS= \
|
||||
CPPSRCS= \
|
||||
xmlparse.c \
|
||||
hashtable.c \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS= \
|
||||
.\$(OBJDIR)\xmlparse.obj \
|
||||
.\$(OBJDIR)\hashtable.obj \
|
||||
$(NULL)
|
||||
|
||||
LINCS=-I..\xmltok
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
libs:: $(OBJDIR) $(OBJS)
|
||||
|
|
|
@ -28,8 +28,6 @@ ifdef MOZ_STRIP_NOT_EXPORTED
|
|||
DEFINES += -DXMLTOKAPI="__attribute__ ((dllexport))"
|
||||
endif
|
||||
|
||||
DEFINES += -DXML_DTD
|
||||
|
||||
CSRCS = \
|
||||
xmltok.c \
|
||||
xmlrole.c \
|
||||
|
|
|
@ -17,10 +17,14 @@
|
|||
|
||||
#
|
||||
|
||||
DEFINES=-DXML_DTD
|
||||
DEPTH= ..\..
|
||||
|
||||
OBJS= \
|
||||
CPPSRCS= \
|
||||
xmltok.c \
|
||||
xmlrole.c \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS= \
|
||||
.\$(OBJDIR)\xmltok.obj \
|
||||
.\$(OBJDIR)\xmlrole.obj \
|
||||
$(NULL)
|
||||
|
|
|
@ -54,3 +54,8 @@ particular environments. */
|
|||
|
||||
/* Enable Unicode string processing in expat */
|
||||
#define XML_UNICODE
|
||||
|
||||
/* Enable external paramter entity parsing in expat */
|
||||
#ifndef XML_DTD
|
||||
#define XML_DTD 1
|
||||
#endif
|
|
@ -24,8 +24,6 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
DIRS = xmlparse xmltok # xmlwf
|
||||
|
||||
DEFINES += -DXML_DTD
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
|
|
@ -28,8 +28,6 @@ ifdef MOZ_STRIP_NOT_EXPORTED
|
|||
DEFINES += -DXMLPARSEAPI="__attribute__ ((dllexport))"
|
||||
endif
|
||||
|
||||
DEFINES += -DXML_DTD
|
||||
|
||||
CSRCS = \
|
||||
hashtable.c \
|
||||
xmlparse.c \
|
||||
|
|
|
@ -54,3 +54,8 @@ particular environments. */
|
|||
|
||||
/* Enable Unicode string processing in expat */
|
||||
#define XML_UNICODE
|
||||
|
||||
/* Enable external paramter entity parsing in expat */
|
||||
#ifndef XML_DTD
|
||||
#define XML_DTD 1
|
||||
#endif
|
Загрузка…
Ссылка в новой задаче