diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/llcommon/llhash.h | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2 meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz |
Second Life viewer sources 1.18.1.2
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 |