From 547d057d11bf07b6592e62348c55aca85e280549 Mon Sep 17 00:00:00 2001 From: Mohan Embar Date: Sat, 11 Sep 2004 19:03:23 +0000 Subject: [PATCH] ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE, "config.h" if not. * ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE, "config.h" if not. From-SVN: r87358 --- 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.30.2