From 6fb470a39ef8900b71634333b0a2227dc8b62799 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 26 Aug 2010 14:52:12 +0200 Subject: 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. --- odb/exceptions.hxx | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'odb/exceptions.hxx') 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 + #include +#include + 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 + #endif // ODB_EXCEPTIONS_HXX -- cgit v1.1