OSDN Git Service

2009-04-30 Rafael Avila de Espindola <espindola@google.com>
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Apr 2009 08:05:31 +0000 (08:05 +0000)
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Apr 2009 08:05:31 +0000 (08:05 +0000)
* plugin.c: Include plugin-version.h only if ENABLE_PLUGIN is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146998 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/plugin.c

index f5a4bd8..90e4ab1 100644 (file)
@@ -1,3 +1,7 @@
+2009-04-30  Rafael Avila de Espindola  <espindola@google.com>
+
+       * plugin.c: Include plugin-version.h only if ENABLE_PLUGIN is defined.
+
 2009-04-30  Andreas Krebbel  <krebbel1@de.ibm.com>
 
        * gcse.c (gcse_constant_p): Make sure the constant is sharable.
index 3b7cc78..a8c2eea 100644 (file)
@@ -38,7 +38,9 @@ along with GCC; see the file COPYING3.  If not see
 #include "intl.h"
 #include "plugin.h"
 #include "timevar.h"
+#ifdef ENABLE_PLUGIN
 #include "plugin-version.h"
+#endif
 
 /* Event names as strings.  Keep in sync with enum plugin_event.  */
 const char *plugin_event_name[] =