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:37:19 UTC
cvs commit: xml-xalan/c/Tests/Conf conf.cpp
dbertoni 2002/07/26 08:37:19
Modified: c/Tests/Conf conf.cpp
Log:
Conditional compilation for Xerces includes.
Revision Changes Path
1.26 +8 -1 xml-xalan/c/Tests/Conf/conf.cpp
Index: conf.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/Tests/Conf/conf.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- conf.cpp 11 May 2002 01:19:16 -0000 1.25
+++ conf.cpp 26 Jul 2002 15:37:19 -0000 1.26
@@ -74,8 +74,15 @@
#endif
-#include <xercesc/parsers/DOMParser.hpp>
+#include <xercesc/util/XercesDefs.hpp>
+
+
+#if XERCES_VERSION_MAJOR >= 2
+#include <xercesc/dom/deprecated/DOMParser.hpp>
+#else
+#include <xercesc/parsers/DOMParser.hpp>
+#endif
#include <XercesParserLiaison/XercesParserLiaison.hpp>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org