summaryrefslogtreecommitdiffstats
path: root/registry
diff options
context:
space:
mode:
Diffstat (limited to 'registry')
-rw-r--r--registry/source/regimpl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx
index d8a58141fce7..a7647b9d512f 100644
--- a/registry/source/regimpl.cxx
+++ b/registry/source/regimpl.cxx
@@ -41,6 +41,7 @@
#include "reflcnst.hxx"
#include "keyimpl.hxx"
+#include <config_global.h>
#include <osl/thread.h>
#include <rtl/alloc.h>
#include <rtl/ustring.hxx>
@@ -420,7 +421,7 @@ void dumpType(typereg::Reader const & reader, OString const & indent) {
}
-#if __cplusplus <= 201402
+#if !HAVE_CPP_INLINE_VARIABLES
constexpr OUStringLiteral ORegistry::ROOT;
#endif