diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-26 14:52:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-26 14:52:12 +0200 |
commit | 6fb470a39ef8900b71634333b0a2227dc8b62799 (patch) | |
tree | 6d782be7a2b25c3f21e9d25f7c7251bde2699994 /odb/exceptions.hxx | |
parent | c883d0ba2f4450f35de6767355555fa83e6262ea (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/exceptions.hxx')
-rw-r--r-- | odb/exceptions.hxx | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/odb/exceptions.hxx b/odb/exceptions.hxx index 13603be..ff97873 100644 --- a/odb/exceptions.hxx +++ b/odb/exceptions.hxx @@ -6,37 +6,43 @@ #ifndef ODB_EXCEPTIONS_HXX #define ODB_EXCEPTIONS_HXX +#include <odb/pre.hxx> + #include <odb/exception.hxx> +#include <odb/details/export.hxx> + namespace odb { - struct already_in_transaction: odb::exception + struct LIBODB_EXPORT already_in_transaction: odb::exception { }; - struct not_in_transaction: odb::exception + struct LIBODB_EXPORT not_in_transaction: odb::exception { }; - struct transaction_already_finilized: odb::exception + struct LIBODB_EXPORT transaction_already_finilized: odb::exception { }; - struct deadlock: odb::exception + struct LIBODB_EXPORT deadlock: odb::exception { }; - struct object_not_persistent: odb::exception + struct LIBODB_EXPORT object_not_persistent: odb::exception { }; - struct object_already_persistent: odb::exception + struct LIBODB_EXPORT object_already_persistent: odb::exception { }; - struct database_exception: odb::exception + struct LIBODB_EXPORT database_exception: odb::exception { }; } +#include <odb/post.hxx> + #endif // ODB_EXCEPTIONS_HXX |