diff options
Diffstat (limited to 'schema')
-rw-r--r-- | schema/custom/database.hxx | 2 | ||||
-rw-r--r-- | schema/embedded/database.hxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/schema/custom/database.hxx b/schema/custom/database.hxx index 39febe8..e4847ec 100644 --- a/schema/custom/database.hxx +++ b/schema/custom/database.hxx @@ -25,6 +25,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::auto_ptr<odb::database> diff --git a/schema/embedded/database.hxx b/schema/embedded/database.hxx index b2c81ea..22ac21a 100644 --- a/schema/embedded/database.hxx +++ b/schema/embedded/database.hxx @@ -25,6 +25,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::auto_ptr<odb::database> |