diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ggc-none.c | 11 |
2 files changed, 13 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 57e3817..d584ea6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-09-11 Mohan Embar <gnustuff@thisiscool.com> + + * ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE, + "config.h" if not. + 2004-09-11 Jakub Jelinek <jakub@redhat.com> * tree-ssa-alias.c (collect_points_to_info_r): Handle 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" |