aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llstringtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcommon/llstringtable.h')
-rw-r--r--linden/indra/llcommon/llstringtable.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/llcommon/llstringtable.h b/linden/indra/llcommon/llstringtable.h
index b7412ef..f7206fe 100644
--- a/linden/indra/llcommon/llstringtable.h
+++ b/linden/indra/llcommon/llstringtable.h
@@ -47,8 +47,10 @@
47//# define STRING_TABLE_HASH_MAP 1 47//# define STRING_TABLE_HASH_MAP 1
48#endif 48#endif
49 49
50#if STRING_TABLE_HASH_MAP 50#if LL_WINDOWS
51#include <hash_map> 51#include <hash_map>
52#else
53#include <ext/hash_map>
52#endif 54#endif
53 55
54const U32 MAX_STRINGS_LENGTH = 256; 56const U32 MAX_STRINGS_LENGTH = 256;
@@ -99,7 +101,11 @@ public:
99 S32 mUniqueEntries; 101 S32 mUniqueEntries;
100 102
101#if STRING_TABLE_HASH_MAP 103#if STRING_TABLE_HASH_MAP
104#if LL_WINDOWS
102 typedef std::hash_multimap<U32, LLStringTableEntry *> string_hash_t; 105 typedef std::hash_multimap<U32, LLStringTableEntry *> string_hash_t;
106#else
107 typedef __gnu_cxx::hash_multimap<U32, LLStringTableEntry *> string_hash_t;
108#endif
103 string_hash_t mStringHash; 109 string_hash_t mStringHash;
104#else 110#else
105 typedef std::list<LLStringTableEntry *> string_list_t; 111 typedef std::list<LLStringTableEntry *> string_list_t;