From 274e99f9ae3f56ab0364b3d0947b91deeb3528e1 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 26 Sep 2006 21:50:25 +0000 Subject: g++ 3.2.2 portability fixes. --- gold/stringpool.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gold/stringpool.h') diff --git a/gold/stringpool.h b/gold/stringpool.h index 873c26a..79632e0 100644 --- a/gold/stringpool.h +++ b/gold/stringpool.h @@ -58,9 +58,15 @@ class Stringpool { return strcmp(p1, p2) == 0; } }; +#ifdef HAVE_TR1_UNORDERED_SET typedef Unordered_set, true> String_set_type; +#else + typedef Unordered_set > String_set_type; +#endif + String_set_type string_set_; std::list strings_; }; -- cgit v1.1