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