aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.h
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2009-04-24 19:33:42 +0000
committerChris Demetriou <cgd@google.com>2009-04-24 19:33:42 +0000
commit40fde48809fd5e9473aa572eee879bb70ce81258 (patch)
tree4eb82904a82ec874a41efeb8c3194510fce0f6dc /gold/gold.h
parent92846e72ad2df2adc38e1e1db776576cf74db2df (diff)
downloadgdb-40fde48809fd5e9473aa572eee879bb70ce81258.zip
gdb-40fde48809fd5e9473aa572eee879bb70ce81258.tar.gz
gdb-40fde48809fd5e9473aa572eee879bb70ce81258.tar.bz2
2009-04-23 Chris Demetriou <cgd@google.com>
* configure.ac (HAVE_TR1_UNORDERED_MAP_REHASH): New define. * configure: Regenerate. * config.in: Regenerate. * gold.h: Avoid std::tr1::unordered_map and std::tr1::unordered_set if HAVE_TR1_UNORDERED_MAP_REHASH is not defined.
Diffstat (limited to 'gold/gold.h')
-rw-r--r--gold/gold.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/gold.h b/gold/gold.h
index 4c23aa6..efebda8 100644
--- a/gold/gold.h
+++ b/gold/gold.h
@@ -65,7 +65,8 @@
// Figure out how to get a hash set and a hash map.
-#if defined(HAVE_TR1_UNORDERED_SET) && defined(HAVE_TR1_UNORDERED_MAP)
+#if defined(HAVE_TR1_UNORDERED_SET) && defined(HAVE_TR1_UNORDERED_MAP) \
+ && defined(HAVE_TR1_UNORDERED_MAP_REHASH)
#include <tr1/unordered_set>
#include <tr1/unordered_map>