зеркало из 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,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
|
Загрузка…
Ссылка в новой задаче