diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-09-06 08:51:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-09-06 08:51:38 +0200 |
commit | db918b9b3dbe6df53d046e3561c07133cfc825e7 (patch) | |
tree | 6daf709fdfe4ade49349f89514356ff95dab8ec6 /c++11 | |
parent | 0e272ec96fbcce93ec3be49eca753a7cd0079893 (diff) |
Issue error if DATABASE_* macros is not defined
Diffstat (limited to 'c++11')
-rw-r--r-- | c++11/database.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c++11/database.hxx b/c++11/database.hxx index 2e9eb5d..f97448f 100644 --- a/c++11/database.hxx +++ b/c++11/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::unique_ptr<odb::database> |