diff options
author | Richard Biener <rguenther@suse.de> | 2014-10-15 09:55:19 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-10-15 09:55:19 +0000 |
commit | 13f447a33ca50156257d0cef0b707aa18416fa9b (patch) | |
tree | 290bdb97db8954d4d24181148fc5c507f1286df9 /gcc/hash-table.c | |
parent | 11915f2ead8446ed5d3457717a5ce0a73eb406c4 (diff) |
hash-table.c: Include bconfig.h if building for the host.
2014-10-15 Richard Biener <rguenther@suse.de>
* hash-table.c: Include bconfig.h if building for the host.
* hash-table.h: Do not include ggc.h on the host but just declare
a few ggc allocation templates.
From-SVN: r216246
Diffstat (limited to 'gcc/hash-table.c')
-rw-r--r-- | gcc/hash-table.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/hash-table.c b/gcc/hash-table.c index 749a1182f49..3dfde6d2170 100644 --- a/gcc/hash-table.c +++ b/gcc/hash-table.c @@ -22,7 +22,11 @@ along with GCC; see the file COPYING3. If not see /* This file implements a typed hash table. The implementation borrows from libiberty's hashtab. */ +#ifdef GENERATOR_FILE +#include "bconfig.h" +#else #include "config.h" +#endif #include "system.h" #include "coretypes.h" #include "hash-table.h" |