From 903869c797d4365678c928111f818a783fe2bd78 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 8 Feb 2015 14:35:28 +0200 Subject: Use ODB_DATABASE_* macros in headers compiled by ODB On Windows DATABASE_* macros are defined by the project, not via a header. --- common/bulk/test.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/bulk/test.hxx') diff --git a/common/bulk/test.hxx b/common/bulk/test.hxx index 1e7ce52..e390e52 100644 --- a/common/bulk/test.hxx +++ b/common/bulk/test.hxx @@ -5,7 +5,7 @@ #ifndef TEST_HXX #define TEST_HXX -#include // HAVE_CXX11, DATABASE_* +#include // HAVE_CXX11 #include #include // std::auto_ptr, std::unique_ptr @@ -213,7 +213,7 @@ namespace test7 // Test SQL Server optimistic concurrency with ROWVERSION. // -#ifdef DATABASE_MSSQL +#ifdef ODB_DATABASE_MSSQL #pragma db namespace table("t8_") namespace test8 { -- cgit v1.1