From 0d06ebcb6f79d190214523e17d504fd1ece3ec4c Mon Sep 17 00:00:00 2001 From: membar Date: Sat, 11 Sep 2004 19:03:23 +0000 Subject: [PATCH] * ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE, "config.h" if not. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87358 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/ggc-none.c | 11 ++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 57e38175d5e..d584ea6e0d3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-09-11 Mohan Embar + + * ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE, + "config.h" if not. + 2004-09-11 Jakub Jelinek * tree-ssa-alias.c (collect_points_to_info_r): Handle diff --git a/gcc/ggc-none.c b/gcc/ggc-none.c index 2e657dbaec8..0cc0c4af33e 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" -- 2.11.0