aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-01-24 14:28:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-01-24 14:28:08 +0200
commit3674a82b9c09757b479e485a673a7a556f12284b (patch)
tree5bfe70e3735ef6cf1402cd6a0b9eeed93083c52f
parent5f63f12aea68bc2cd90c4a86324742339de96da2 (diff)
Add dummy source file for DLL export
-rw-r--r--odb/lazy-ptr-impl.cxx12
-rw-r--r--odb/makefile11
2 files changed, 18 insertions, 5 deletions
diff --git a/odb/lazy-ptr-impl.cxx b/odb/lazy-ptr-impl.cxx
new file mode 100644
index 0000000..b149586
--- /dev/null
+++ b/odb/lazy-ptr-impl.cxx
@@ -0,0 +1,12 @@
+// file : odb/lazy-ptr-impl.cxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#include <odb/lazy-ptr-impl.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 4beeda0..caa54d4 100644
--- a/odb/makefile
+++ b/odb/makefile
@@ -5,11 +5,12 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
-cxx := \
-exceptions.cxx \
-database.cxx \
-session.cxx \
-transaction.cxx
+cxx := \
+exceptions.cxx \
+database.cxx \
+session.cxx \
+transaction.cxx \
+lazy-ptr-impl.cxx
# Implementation details.
#