diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-15 09:55:19 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-15 09:55:19 +0000 |
commit | fecd2208d4a6cf0495139f8ff0ad667f92f78a56 (patch) | |
tree | 290bdb97db8954d4d24181148fc5c507f1286df9 /gcc/hash-table.c | |
parent | 9901ce14ec72825ba24c75cda49dce3f74b8b56d (diff) | |
download | gcc-fecd2208d4a6cf0495139f8ff0ad667f92f78a56.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216246 138bc75d-0d04-0410-961f-82ee72b054a4
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" |