From db918b9b3dbe6df53d046e3561c07133cfc825e7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 6 Sep 2012 08:51:38 +0200 Subject: Issue error if DATABASE_* macros is not defined --- inheritance/reuse/database.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'inheritance/reuse') diff --git a/inheritance/reuse/database.hxx b/inheritance/reuse/database.hxx index 605c07f..6fd1bda 100644 --- a/inheritance/reuse/database.hxx +++ b/inheritance/reuse/database.hxx @@ -28,6 +28,8 @@ # include #elif defined(DATABASE_MSSQL) # include +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr -- cgit v1.1