diff --git a/reactos/base/applications/ibrowser/utility/xmlstorage.cpp b/reactos/base/applications/ibrowser/utility/xmlstorage.cpp index 7ebfdae8b89..5b977a6bfb1 100644 --- a/reactos/base/applications/ibrowser/utility/xmlstorage.cpp +++ b/reactos/base/applications/ibrowser/utility/xmlstorage.cpp @@ -44,6 +44,9 @@ #include +namespace XMLStorage { + + // work around GCC's wide string constant bug #ifdef __GNUC__ const LPCXSSTR XMLStorage::XS_EMPTY = XS_EMPTY_STR; @@ -54,9 +57,6 @@ const LPCXSSTR XMLStorage::XS_FLOATFMT = XS_FLOATFMT_STR; #endif -namespace XMLStorage { - - /// remove escape characters from zero terminated string static std::string unescape(const char* s, char b, char e) { diff --git a/reactos/base/shell/explorer/utility/xmlstorage.cpp b/reactos/base/shell/explorer/utility/xmlstorage.cpp index 7ebfdae8b89..5b977a6bfb1 100644 --- a/reactos/base/shell/explorer/utility/xmlstorage.cpp +++ b/reactos/base/shell/explorer/utility/xmlstorage.cpp @@ -44,6 +44,9 @@ #include +namespace XMLStorage { + + // work around GCC's wide string constant bug #ifdef __GNUC__ const LPCXSSTR XMLStorage::XS_EMPTY = XS_EMPTY_STR; @@ -54,9 +57,6 @@ const LPCXSSTR XMLStorage::XS_FLOATFMT = XS_FLOATFMT_STR; #endif -namespace XMLStorage { - - /// remove escape characters from zero terminated string static std::string unescape(const char* s, char b, char e) {