diff options
Diffstat (limited to 'linden/indra/llcommon/llhash.h')
-rw-r--r-- | linden/indra/llcommon/llhash.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/llcommon/llhash.h b/linden/indra/llcommon/llhash.h index c3c4ec9..793783f 100644 --- a/linden/indra/llcommon/llhash.h +++ b/linden/indra/llcommon/llhash.h | |||
@@ -42,6 +42,8 @@ | |||
42 | # else | 42 | # else |
43 | # include <hashtable.h> | 43 | # include <hashtable.h> |
44 | # endif | 44 | # endif |
45 | #elif LL_SOLARIS | ||
46 | #include <ext/hashtable.h> | ||
45 | #else | 47 | #else |
46 | #error Please define your platform. | 48 | #error Please define your platform. |
47 | #endif | 49 | #endif |
@@ -53,7 +55,7 @@ template<class T> inline size_t llhash(T value) | |||
53 | #elif ( (defined _STLPORT_VERSION) || ((LL_LINUX) && (__GNUC__ <= 2)) ) | 55 | #elif ( (defined _STLPORT_VERSION) || ((LL_LINUX) && (__GNUC__ <= 2)) ) |
54 | std::hash<T> H; | 56 | std::hash<T> H; |
55 | return H(value); | 57 | return H(value); |
56 | #elif LL_DARWIN || LL_LINUX | 58 | #elif LL_DARWIN || LL_LINUX || LL_SOLARIS |
57 | __gnu_cxx::hash<T> H; | 59 | __gnu_cxx::hash<T> H; |
58 | return H(value); | 60 | return H(value); |
59 | #else | 61 | #else |