diff options
author | Rafael Avila de Espindola <espindola@google.com> | 2009-05-27 12:57:59 +0000 |
---|---|---|
committer | Rafael Espindola <espindola@gcc.gnu.org> | 2009-05-27 12:57:59 +0000 |
commit | 3e17e31d47109a840eb32e24dfd59ca9a49c8bfa (patch) | |
tree | a67f0eebb357d7ecd40cf64d83c7d946d9b0b498 /gcc/gcc-plugin.h | |
parent | 5e370570a5cbdb9cb615e8167ae3dee3612bae8a (diff) | |
download | gcc-3e17e31d47109a840eb32e24dfd59ca9a49c8bfa.zip gcc-3e17e31d47109a840eb32e24dfd59ca9a49c8bfa.tar.gz gcc-3e17e31d47109a840eb32e24dfd59ca9a49c8bfa.tar.bz2 |
attribute_plugin.c: Include gcc-plugin.h first.
2009-05-27 Rafael Avila de Espindola <espindola@google.com>
* g++.dg/plugin/attribute_plugin.c: Include gcc-plugin.h first.
* g++.dg/plugin/dumb_plugin.c: Include gcc-plugin.h first.
* g++.dg/plugin/selfassign.c: Include gcc-plugin.h first.
* gcc.dg/plugin/selfassign.c: Include gcc-plugin.h first.
2009-05-27 Rafael Avila de Espindola <espindola@google.com>
* Makefile.in (GCC_PLUGIN_H): New. Replace all uses of gcc-plugin.h with
it.
* doc/plugins.texi: Document that gcc-plugin.h must be the first to be
included.
* gcc-plugin.h: Include config.h and system.h.
(IN_GCC): Define if not defined.
From-SVN: r147908
Diffstat (limited to 'gcc/gcc-plugin.h')
-rw-r--r-- | gcc/gcc-plugin.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/gcc-plugin.h b/gcc/gcc-plugin.h index 2567bf7..1588bca 100644 --- a/gcc/gcc-plugin.h +++ b/gcc/gcc-plugin.h @@ -20,6 +20,13 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_PLUGIN_H #define GCC_PLUGIN_H +#ifndef IN_GCC +#define IN_GCC +#endif + +#include "config.h" +#include "system.h" + /* Event names. Keep in sync with plugin_event_name[]. */ enum plugin_event { |