diff options
author | membar <membar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-11 19:03:23 +0000 |
---|---|---|
committer | membar <membar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-11 19:03:23 +0000 |
commit | 0d06ebcb6f79d190214523e17d504fd1ece3ec4c (patch) | |
tree | e6bc97fc78e5f15e52572cdac4344f823c8034b6 /gcc | |
parent | 0a0c4d2c2944b3e85bd448270a23dd28c5f2ae07 (diff) | |
download | gcc-0d06ebcb6f79d190214523e17d504fd1ece3ec4c.tar.gz |
* 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
Diffstat (limited to 'gcc')
-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 57e38175d5e..d584ea6e0d3 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 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" |