You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2002/07/26 17:38:01 UTC
cvs commit: xml-xalan/c/samples/ParsedSourceWrappers ParsedSourceWrappers.cpp
dbertoni 2002/07/26 08:38:01
Modified: c/samples/ParsedSourceWrappers ParsedSourceWrappers.cpp
Log:
Conditional compilation for Xerces includes.
Revision Changes Path
1.3 +4 -0 xml-xalan/c/samples/ParsedSourceWrappers/ParsedSourceWrappers.cpp
Index: ParsedSourceWrappers.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/samples/ParsedSourceWrappers/ParsedSourceWrappers.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ParsedSourceWrappers.cpp 11 May 2002 00:00:05 -0000 1.2
+++ ParsedSourceWrappers.cpp 26 Jul 2002 15:38:01 -0000 1.3
@@ -69,7 +69,11 @@
#include <xercesc/framework/URLInputSource.hpp>
+#if XERCES_VERSION_MAJOR >= 2
+#include <xercesc/dom/deprecated/DOMParser.hpp>
+#else
#include <xercesc/parsers/DOMParser.hpp>
+#endif
#include <xercesc/util/PlatformUtils.hpp>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org