From ffb7f9d6f7abfc3bf109cfb98073a633544f17f0 Mon Sep 17 00:00:00 2001 From: jez_higgins <> Date: Mon, 28 Apr 2003 14:49:55 +0000 Subject: [PATCH] VC6 fix so it doesn't choke on typenames --- SAX/wrappers/saxxerces.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SAX/wrappers/saxxerces.h b/SAX/wrappers/saxxerces.h index 97befaa1..4aa8c73f 100644 --- a/SAX/wrappers/saxxerces.h +++ b/SAX/wrappers/saxxerces.h @@ -758,6 +758,9 @@ SAX::basic_EntityResolver* xerces_wrapper::ge return 0; } // getEntityResolver +#if (defined _MSC_VER) && (_MSC_VER < 1300) +#define typename +#endif template std::auto_ptr::PropertyBase> xerces_wrapper::doGetProperty(const stringT& name) { @@ -800,6 +803,10 @@ void xerces_wrapper::doSetProperty(const stringT& name throw SAX::SAXNotRecognizedException("Property not recognized "); } // doSetProperty +#if (defined _MSC_VER) && (_MSC_VER < 1300) +#undef typename +#endif + template void xerces_wrapper::parse(SAX::basic_InputSource& source) {