diff options
author | Stu Grossman <grossman@cygnus> | 1992-06-19 22:39:44 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-06-19 22:39:44 +0000 |
commit | 9aa448333dc03c53f4ed8826251f813123705217 (patch) | |
tree | 01863321fd1e5fca97baade99de53561d2af9983 /gdb/m2-exp.y | |
parent | 3fd76e586674dbac90a5e2327a44a17e39f70c88 (diff) | |
download | gdb-9aa448333dc03c53f4ed8826251f813123705217.zip gdb-9aa448333dc03c53f4ed8826251f813123705217.tar.gz gdb-9aa448333dc03c53f4ed8826251f813123705217.tar.bz2 |
* Makefile.in (c-exp.tab.c, m2-exp.tab.c): Filter out bogus extern
declarations of malloc/realloc/free that are inserted by some
versions of yacc.
* m2-exp.y: Prevent conflicts with TRUE and FALSE tokens by
#undeffing them.
* xm-rs6000.h: Declare malloc/realloc/free appropriately. Yet
another decl of strdup (this really ought to come from libiberty.h!).
Diffstat (limited to 'gdb/m2-exp.y')
-rw-r--r-- | gdb/m2-exp.y | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y index 850019e..7b70e4e 100644 --- a/gdb/m2-exp.y +++ b/gdb/m2-exp.y @@ -104,6 +104,9 @@ struct block *modblock=0; /* #define YYDEBUG 1 */ +/* !@&%ing AIX defines these! Prevent cpp complaints by undeffing them */ +#undef TRUE +#undef FALSE %} /* Although the yacc "value" of an expression is not used, |