aboutsummaryrefslogtreecommitdiff
path: root/odb/transaction.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-26 14:52:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-26 14:52:12 +0200
commit6fb470a39ef8900b71634333b0a2227dc8b62799 (patch)
tree6d782be7a2b25c3f21e9d25f7c7251bde2699994 /odb/transaction.hxx
parentc883d0ba2f4450f35de6767355555fa83e6262ea (diff)
Add support for creating other build systems (meta-building)
Add support for automake, VC++ 9, and VC++ 10. Also add the Win32 and 'NULL' threading model implementations.
Diffstat (limited to 'odb/transaction.hxx')
-rw-r--r--odb/transaction.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/odb/transaction.hxx b/odb/transaction.hxx
index 43526d0..71d17eb 100644
--- a/odb/transaction.hxx
+++ b/odb/transaction.hxx
@@ -6,13 +6,17 @@
#ifndef ODB_TRANSACTION_HXX
#define ODB_TRANSACTION_HXX
+#include <odb/pre.hxx>
+
#include <odb/forward.hxx>
+#include <odb/details/export.hxx>
+
namespace odb
{
class transaction_impl;
- class transaction
+ class LIBODB_EXPORT transaction
{
public:
typedef odb::database database_type;
@@ -62,7 +66,7 @@ namespace odb
transaction_impl* impl_;
};
- class transaction_impl
+ class LIBODB_EXPORT transaction_impl
{
protected:
friend class transaction;
@@ -96,4 +100,6 @@ namespace odb
#include <odb/transaction.ixx>
+#include <odb/post.hxx>
+
#endif // ODB_TRANSACTION_HXX