Details
Description
The #include <xalanc/Include/PlatformDefinitions.hpp> is invoked and fails to resolve the Xerces typedef XMLch.
The following edit resolves the issue:
— trunk/src/xalanc/Include/PlatformDefinitions.hpp 2011-04-25 14:11:27.000000000 -0700
+++ PlatformDefinitions.hpp 2011-05-02 11:25:51.000000000 -0700
@@ -14,13 +14,18 @@
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*/
+
#if !defined(PLATFORMDEFINITIONS_HEADER_GUARD_1357924680)
#define PLATFORMDEFINITIONS_HEADER_GUARD_1357924680
#if defined(__cplusplus)
-#include "xercesc/util/XercesDefs.hpp"
+# include "xercesc/util/XercesDefs.hpp"
+#else
+/* Include autoconf to define XMLCh when XercesDefs is bypassed */
+# include "xercesc/util/Xerces_autoconf_config.hpp"
+# include "xercesc/util/XercesVersion.hpp"
#endif
#if defined(_MSC_VER)
#include "VCPPDefinitions.hpp"