aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-none.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ggc-none.c')
-rw-r--r--gcc/ggc-none.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ggc-none.c b/gcc/ggc-none.c
index 2e657db..0cc0c4a 100644
--- a/gcc/ggc-none.c
+++ b/gcc/ggc-none.c
@@ -19,11 +19,16 @@
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
-/* This version is used by the gen* programs, where we don't really
- need GC at all. This prevents problems with pulling in all the
- tree stuff. */
+/* This version is used by the gen* programs and certain language-specific
+ targets (such as java), where we don't really need GC at all.
+ This prevents problems with pulling in all the tree stuff. */
+#ifdef GENERATOR_FILE
#include "bconfig.h"
+#else
+#include "config.h"
+#endif
+
#include "system.h"
#include "coretypes.h"
#include "ggc.h"