summaryrefslogtreecommitdiff
path: root/odb/gcc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/gcc.hxx')
-rw-r--r--odb/gcc.hxx9
1 files changed, 9 insertions, 0 deletions
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