diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dom/dom.h | 16 |
1 files 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 <string> +#else #include <glibmm.h> -//#include <string> +#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. |
