diff options
author | fche <fche> | 2005-12-21 20:53:13 +0000 |
---|---|---|
committer | fche <fche> | 2005-12-21 20:53:13 +0000 |
commit | 112b531a1b74547e8575f7a687d617869e86c766 (patch) | |
tree | b9c4cc3f971162db68a7e50ea5f578882249fffb /loc2c.h | |
parent | 0dd17aeffbbe7e704cfb297a35a569bbe74aff2d (diff) | |
download | systemtap-steved-112b531a1b74547e8575f7a687d617869e86c766.tar.gz systemtap-steved-112b531a1b74547e8575f7a687d617869e86c766.tar.xz systemtap-steved-112b531a1b74547e8575f7a687d617869e86c766.zip |
2005-12-21 Frank Ch. Eigler <fche@elastic.org>
* loc2c.h: Add __attribute__ defeating code for g++ 3.3 compatibility.
Diffstat (limited to 'loc2c.h')
-rw-r--r-- | loc2c.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |