diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-03 14:12:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-03 14:12:42 +0200 |
commit | 353516802d727ab57811171f09f21f6f9ba6237f (patch) | |
tree | 0e29955eacc478c1da26602c8339b16a3d5dd030 /common/query/test.hxx | |
parent | e54acedef205100136524ea99e18c554a7d4b027 (diff) |
Use ODB_DATABASE_XXX macros instead DATABASE_XXX in ODB-compiled headers1.7.0.a1
DATABASE_XXX macros are not defined when building from VC++ project.
Diffstat (limited to 'common/query/test.hxx')
-rw-r--r-- | common/query/test.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
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 <odb/core.hxx> #include <odb/nullable.hxx> -#include <common/config.hxx> // DATABASE_XXX - typedef std::vector<char> buffer; typedef odb::nullable<buffer> 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 |