diff options
Diffstat (limited to 'odb/exception.hxx')
-rw-r--r-- | odb/exception.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/odb/exception.hxx b/odb/exception.hxx index c8e2f35..0ab188a 100644 --- a/odb/exception.hxx +++ b/odb/exception.hxx @@ -6,11 +6,15 @@ #ifndef ODB_EXCEPTION_HXX #define ODB_EXCEPTION_HXX +#include <odb/pre.hxx> + #include <exception> +#include <odb/details/export.hxx> + namespace odb { - struct exception: std::exception + struct LIBODB_EXPORT exception: std::exception { // By default return the exception type name ( typeid (*this).name () ). // @@ -19,4 +23,6 @@ namespace odb }; } +#include <odb/post.hxx> + #endif // ODB_EXCEPTION_HXX |