From b0c231bb70dc05847c7ea375ae4ffd78219e19aa Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Wed, 18 Jun 2003 00:45:03 +0000 Subject: system.h (ANSI_PROTOTYPES, [...]): undef and poison these libiberty macros. * system.h (ANSI_PROTOTYPES, PTR_CONST, LONG_DOUBLE, VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE, VA_START): undef and poison these libiberty macros. From-SVN: r68131 --- gcc/system.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gcc/system.h') diff --git a/gcc/system.h b/gcc/system.h index c8f38fb..3214f7a 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -627,6 +627,17 @@ typedef char _Bool; #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \ LANG_HOOKS_MARK_TREE +/* Libiberty macros that are no longer used in GCC. */ +#undef ANSI_PROTOTYPES +#undef PTR_CONST +#undef LONG_DOUBLE +#undef VPARAMS +#undef VA_OPEN +#undef VA_FIXEDARG +#undef VA_CLOSE +#undef VA_START + #pragma GCC poison ANSI_PROTOTYPES PTR_CONST LONG_DOUBLE VPARAMS VA_OPEN \ + VA_FIXEDARG VA_CLOSE VA_START #endif /* IN_GCC */ /* Note: not all uses of the `index' token (e.g. variable names and -- cgit v1.1