From 333c1af6293a2a626890235d0e83c36bdb9346e5 Mon Sep 17 00:00:00 2001 From: ishmal Date: Tue, 13 May 2008 15:30:30 +0000 Subject: [PATCH] Fix for future testing. --- src/dom/dom.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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. -- 2.30.2