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