aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRafael Avila de Espindola <espindola@google.com>2009-04-30 08:05:31 +0000
committerRafael Espindola <espindola@gcc.gnu.org>2009-04-30 08:05:31 +0000
commit0acbbdb04f5169e93eb7f5d56a039e976e1823eb (patch)
treea184dbe7a23cbb07b1e15bc9247abd591e4078ec /gcc
parent82f5c05de6fdbff6ce599419a24d63b400ea900a (diff)
downloadgcc-0acbbdb04f5169e93eb7f5d56a039e976e1823eb.zip
gcc-0acbbdb04f5169e93eb7f5d56a039e976e1823eb.tar.gz
gcc-0acbbdb04f5169e93eb7f5d56a039e976e1823eb.tar.bz2
plugin.c: Include plugin-version.h only if ENABLE_PLUGIN is defined.
2009-04-30 Rafael Avila de Espindola <espindola@google.com> * plugin.c: Include plugin-version.h only if ENABLE_PLUGIN is defined. From-SVN: r146998
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/plugin.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f5a4bd8..90e4ab1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/plugin.c b/gcc/plugin.c
index 3b7cc78..a8c2eea 100644
--- a/gcc/plugin.c
+++ b/gcc/plugin.c
@@ -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[] =