aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-09-26 21:20:56 +0000
committerIan Lance Taylor <iant@google.com>2006-09-26 21:20:56 +0000
commitd288e464ac39ad965115c86ba29c7dc07ed9f5d6 (patch)
treec890e318317b2541d34f07cd4ad81502e409ea9f /gold/gold.h
parent54dc6425456514cdc00cdfef5a21a7bdacfcad2d (diff)
downloadgdb-d288e464ac39ad965115c86ba29c7dc07ed9f5d6.zip
gdb-d288e464ac39ad965115c86ba29c7dc07ed9f5d6.tar.gz
gdb-d288e464ac39ad965115c86ba29c7dc07ed9f5d6.tar.bz2
g++ 3.2.2 portability for grhat.
Diffstat (limited to 'gold/gold.h')
-rw-r--r--gold/gold.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/gold.h b/gold/gold.h
index f52d131..20095eb 100644
--- a/gold/gold.h
+++ b/gold/gold.h
@@ -25,7 +25,7 @@
// Figure out how to get a hash set and a hash map.
-#if HAVE_TR1_UNORDERED_SET && HAVE_TR1_UNORDERED_MAP
+#if defined(HAVE_TR1_UNORDERED_SET) && defined(HAVE_TR1_UNORDERED_MAP)
#include <tr1/unordered_set>
#include <tr1/unordered_map>
@@ -35,7 +35,7 @@
#define Unordered_set std::tr1::unordered_set
#define Unordered_map std::tr1::unordered_map
-#elif HAVE_EXT_HASH_MAP && HAVE_EXT_HASH_SET
+#elif defined(HAVE_EXT_HASH_MAP) && defined(HAVE_EXT_HASH_SET)
#include <ext/hash_map>
#include <ext/hash_set>