summaryrefslogtreecommitdiffstats
path: root/loc2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'loc2c.h')
-rw-r--r--loc2c.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/loc2c.h b/loc2c.h
index 9b0a7868..96cc2568 100644
--- a/loc2c.h
+++ b/loc2c.h
@@ -3,6 +3,10 @@
struct obstack; /* Use <obstack.h> */
struct location; /* Opaque */
+/* G++ 3.3 doesn't seem to like the __attribute__ constructs below. */
+#if (__GNUG__ == 3) && (__GNUC_MINOR__ == 3)
+#define __attribute__(x) /* nothing */
+#endif
/* Translate a C fragment for the location expression, using *INPUT
as the starting location, begin from scratch if *INPUT is null.