ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE, "config.h" if not.
authorMohan Embar <gnustuff@thisiscool.com>
Sat, 11 Sep 2004 19:03:23 +0000 (19:03 +0000)
committerMohan Embar <membar@gcc.gnu.org>
Sat, 11 Sep 2004 19:03:23 +0000 (19:03 +0000)
* ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE,
"config.h" if not.

From-SVN: r87358

gcc/ChangeLog
gcc/ggc-none.c

index 57e38175d5ec8546dd7aea888f9c4e9606e87c02..d584ea6e0d36c2a9fd25364afea4bd611eb0dd5d 100644 (file)
@@ -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
index 2e657dbaec8f8f2b3442bba531ab1888c0225279..0cc0c4af33eb3ced4f202c2098af9cbc19dcf942 100644 (file)
    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"