diff options
Diffstat (limited to 'libodb')
-rw-r--r-- | libodb/odb/core.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libodb/odb/core.hxx b/libodb/odb/core.hxx index a88012c..8867ec1 100644 --- a/libodb/odb/core.hxx +++ b/libodb/odb/core.hxx @@ -6,6 +6,13 @@ #ifndef ODB_CORE_HXX #define ODB_CORE_HXX +#ifdef ODB_COMPILER +# define PRAGMA_ODB_IMPL(x) _Pragma (#x) +# define PRAGMA_ODB(x) PRAGMA_ODB_IMPL (odb x) +#else +# define PRAGMA_ODB(x) +#endif + namespace odb { class image |