aboutsummaryrefslogtreecommitdiff
path: root/mapping
diff options
context:
space:
mode:
Diffstat (limited to 'mapping')
-rw-r--r--mapping/database.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/mapping/database.hxx b/mapping/database.hxx
index 5759e10..fe210d8 100644
--- a/mapping/database.hxx
+++ b/mapping/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::auto_ptr<odb::database>