Enable external parameter entity parsing in expat.
git-svn-id: svn://10.0.0.236/trunk@39763 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9f33b25822
commit
9c36c9671a
@ -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,16 +18,21 @@
|
||||
#
|
||||
|
||||
DEPTH= ..\..
|
||||
DEFINES=-DXML_DTD
|
||||
MODULE = expat
|
||||
EXPORTS = xmlparse.h
|
||||
|
||||
LINCS=-I..\xmltok
|
||||
|
||||
OBJS= \
|
||||
.\$(OBJDIR)\xmlparse.obj \
|
||||
.\$(OBJDIR)\hashtable.obj \
|
||||
$(NULL)
|
||||
CPPSRCS= \
|
||||
xmlparse.c \
|
||||
hashtable.c \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS= \
|
||||
.\$(OBJDIR)\xmlparse.obj \
|
||||
.\$(OBJDIR)\hashtable.obj \
|
||||
$(NULL)
|
||||
|
||||
LINCS=-I..\xmltok
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
|
||||
@ -28,8 +28,6 @@ ifdef MOZ_STRIP_NOT_EXPORTED
|
||||
DEFINES += -DXMLTOKAPI="__attribute__ ((dllexport))"
|
||||
endif
|
||||
|
||||
DEFINES += -DXML_DTD
|
||||
|
||||
CSRCS = \
|
||||
xmltok.c \
|
||||
xmlrole.c \
|
||||
|
||||
@ -17,13 +17,17 @@
|
||||
|
||||
#
|
||||
|
||||
DEFINES=-DXML_DTD
|
||||
DEPTH= ..\..
|
||||
|
||||
OBJS= \
|
||||
.\$(OBJDIR)\xmltok.obj \
|
||||
.\$(OBJDIR)\xmlrole.obj \
|
||||
$(NULL)
|
||||
CPPSRCS= \
|
||||
xmltok.c \
|
||||
xmlrole.c \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS= \
|
||||
.\$(OBJDIR)\xmltok.obj \
|
||||
.\$(OBJDIR)\xmlrole.obj \
|
||||
$(NULL)
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user