aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-04-30 11:45:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-04-30 11:45:51 +0200
commit449227d505edd52c24928b78da164435d61153ad (patch)
treee940552247ca80cc5f63937c3e53feda3c469a7e
parent0fd5e88d6e31e6dc5259fa5428835fe818440abc (diff)
Add empty source file to facilitate VC++ symbol exporting2.0.0
-rw-r--r--odb/callback.cxx11
-rw-r--r--odb/makefile1
2 files changed, 12 insertions, 0 deletions
diff --git a/odb/callback.cxx b/odb/callback.cxx
new file mode 100644
index 0000000..94a618e
--- /dev/null
+++ b/odb/callback.cxx
@@ -0,0 +1,11 @@
+// file : odb/callback.cxx
+// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#include <odb/callback.hxx>
+
+namespace odb
+{
+ // This otherwise unnecessary file is here to allow instantiation
+ // of inline functions for exporting.
+}
diff --git a/odb/makefile b/odb/makefile
index fd61513..5a5b48a 100644
--- a/odb/makefile
+++ b/odb/makefile
@@ -5,6 +5,7 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
cxx := \
+callback.cxx \
exceptions.cxx \
database.cxx \
connection.cxx \