From 15e6fd2b0976f82eb1ef10d2d26912d12e4f0a99 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 2 Apr 2010 18:41:18 +0200 Subject: Implement pragma support --- odb/gcc.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'odb/gcc.hxx') diff --git a/odb/gcc.hxx b/odb/gcc.hxx index ab54707..9d1e3bc 100644 --- a/odb/gcc.hxx +++ b/odb/gcc.hxx @@ -29,7 +29,16 @@ extern "C" #include "diagnostic.h" #include "c-common.h" +#include "c-pragma.h" #include "cp/cp-tree.h" } +#ifndef LOCATION_COLUMN +#define LOCATION_COLUMN(LOC) (expand_location (LOC).column) +#endif + +#ifndef DECL_SOURCE_COLUMN +#define DECL_SOURCE_COLUMN(NODE) LOCATION_COLUMN (DECL_SOURCE_LOCATION (NODE)) +#endif + #endif // ODB_GCC_TREE_HXX -- cgit v1.1