From 353516802d727ab57811171f09f21f6f9ba6237f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 3 Nov 2011 14:12:42 +0200 Subject: Use ODB_DATABASE_XXX macros instead DATABASE_XXX in ODB-compiled headers DATABASE_XXX macros are not defined when building from VC++ project. --- common/query/test.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'common/query') diff --git a/common/query/test.hxx b/common/query/test.hxx index d2d28d2..b69be3c 100644 --- a/common/query/test.hxx +++ b/common/query/test.hxx @@ -14,8 +14,6 @@ #include #include -#include // DATABASE_XXX - typedef std::vector buffer; typedef odb::nullable nullable_buffer; @@ -56,7 +54,7 @@ struct person unsigned short age_; bool married_; -#ifdef DATABASE_PGSQL +#ifdef ODB_DATABASE_PGSQL #pragma db column ("key") type ("BYTEA") null #else #pragma db column ("key") type ("BLOB") null -- cgit v1.1