aboutsummaryrefslogtreecommitdiff
path: root/odb/generator.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-14 10:39:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-14 10:39:14 +0200
commitac55a7a0a89fe9a1f39e33ee3445b644c68fa0c1 (patch)
tree8ef1ecfddf4b807209921f4c7a3c28fab77781b4 /odb/generator.cxx
parent9d2ea69cfd7e71d0dfbc082ccc9a2d877f5451d5 (diff)
Further work on build2 build, support for non-static plugin on Windows
Diffstat (limited to 'odb/generator.cxx')
-rw-r--r--odb/generator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/generator.cxx b/odb/generator.cxx
index bb8e12f..d1c88e9 100644
--- a/odb/generator.cxx
+++ b/odb/generator.cxx
@@ -16,8 +16,13 @@
#include <cutl/compiler/cxx-indenter.hxx>
#include <cutl/compiler/sloc-counter.hxx>
+#ifdef ODB_BUILD2
+#include <libstudxml/parser.hxx>
+#include <libstudxml/serializer.hxx>
+#else
#include <cutl/xml/parser.hxx>
#include <cutl/xml/serializer.hxx>
+#endif
#include <odb/version.hxx>
#include <odb/context.hxx>