From f1ca0302d7e50b87d1f39e79d42acdf43083cf98 Mon Sep 17 00:00:00 2001 From: Bob Jamison Date: Tue, 13 May 2008 15:30:30 +0000 Subject: Fix for future testing. (bzr r5666) --- src/dom/dom.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/dom/dom.h b/src/dom/dom.h index c1d9428d0..21ea44669 100644 --- a/src/dom/dom.h +++ b/src/dom/dom.h @@ -57,8 +57,11 @@ * Then below, select one of the corresponding typedefs. */ +#ifdef DOM_STANDALONE +#include +#else #include -//#include +#endif //# Unfortunate hack for a name collision #ifdef SEVERITY_ERROR @@ -78,13 +81,14 @@ namespace dom /** * This is the org::w3c::dom::DOMString definition. * Which type do we want? - */ + */ +#ifdef DOM_STANDALONE +typedef std::string DOMString; +typedef unsigned short XMLCh; +#else typedef Glib::ustring DOMString; typedef gunichar XMLCh; - -//typedef std::string DOMString; -//typedef unsigned short XMLCh; - +#endif /** * At least 64 bit time stamp value. -- cgit v1.2.3