From 3674a82b9c09757b479e485a673a7a556f12284b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Jan 2011 14:28:08 +0200 Subject: Add dummy source file for DLL export --- odb/lazy-ptr-impl.cxx | 12 ++++++++++++ odb/makefile | 11 ++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 odb/lazy-ptr-impl.cxx 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 +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#include + +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. # -- cgit v1.1