From 0634ddb1f04489b8fe26d131ee216dec0a47a28d Mon Sep 17 00:00:00 2001
From: Boris Kolpackov <boris@codesynthesis.com>
Date: Mon, 13 Sep 2010 10:42:46 +0200
Subject: Change pragma syntax

Change odb pragma namespace to db. Use qualifiers (object, value, and member)
to specify type/member name. Add support for mapping C++ types to db types.
---
 odb/core.hxx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/odb/core.hxx b/odb/core.hxx
index 53aea04..e11d88c 100644
--- a/odb/core.hxx
+++ b/odb/core.hxx
@@ -9,10 +9,10 @@
 #include <odb/pre.hxx>
 
 #ifdef ODB_COMPILER
-#  define ODB_PRAGMA_IMPL(x) _Pragma (#x)
-#  define ODB_PRAGMA(x) ODB_PRAGMA_IMPL (odb x)
+#  define PRAGMA_DB_IMPL(x) _Pragma (#x)
+#  define PRAGMA_DB(x) PRAGMA_DB_IMPL (db x)
 #else
-#  define PRAGMA_ODB(x)
+#  define PRAGMA_DB(x)
 #endif
 
 #include <odb/forward.hxx>
-- 
cgit v1.1