diff options
Diffstat (limited to 'linden/indra/llcommon/llstring.h')
-rw-r--r-- | linden/indra/llcommon/llstring.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/llcommon/llstring.h b/linden/indra/llcommon/llstring.h index adfdfb8..5f48580 100644 --- a/linden/indra/llcommon/llstring.h +++ b/linden/indra/llcommon/llstring.h | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <errno.h> | 40 | #include <errno.h> |
41 | #include <math.h> | 41 | #include <math.h> |
42 | #include <stdarg.h> /* for vsnprintf */ | 42 | #include <stdarg.h> /* for vsnprintf */ |
43 | #if LL_LINUX | 43 | #if LL_LINUX || LL_SOLARIS |
44 | #include <wctype.h> | 44 | #include <wctype.h> |
45 | #include <wchar.h> | 45 | #include <wchar.h> |
46 | #endif | 46 | #endif |
@@ -54,7 +54,7 @@ class LLUUID; | |||
54 | class LLColor4; | 54 | class LLColor4; |
55 | class LLColor4U; | 55 | class LLColor4U; |
56 | 56 | ||
57 | #if (LL_DARWIN || (LL_LINUX && __GNUC__ > 2)) | 57 | #if (LL_DARWIN || LL_SOLARIS || (LL_LINUX && __GNUC__ > 2)) |
58 | // Template specialization of char_traits for U16s. Only necessary on Mac for now (exists on Windows, unused/broken on Linux/gcc2.95) | 58 | // Template specialization of char_traits for U16s. Only necessary on Mac for now (exists on Windows, unused/broken on Linux/gcc2.95) |
59 | namespace std | 59 | namespace std |
60 | { | 60 | { |
@@ -205,7 +205,7 @@ public: | |||
205 | LLStringBase(const T* s, size_type n); | 205 | LLStringBase(const T* s, size_type n); |
206 | LLStringBase(const T* s, size_type pos, size_type n ); | 206 | LLStringBase(const T* s, size_type pos, size_type n ); |
207 | 207 | ||
208 | #if LL_LINUX | 208 | #if LL_LINUX || LL_SOLARIS |
209 | void clear() { assign(null); } | 209 | void clear() { assign(null); } |
210 | 210 | ||
211 | LLStringBase<T>& assign(const T* s); | 211 | LLStringBase<T>& assign(const T* s); |
@@ -700,7 +700,7 @@ LLStringBase<T>::LLStringBase(const T* s, size_type pos, size_type n ) : std::ba | |||
700 | } | 700 | } |
701 | } | 701 | } |
702 | 702 | ||
703 | #if LL_LINUX | 703 | #if LL_LINUX || LL_SOLARIS |
704 | template<class T> | 704 | template<class T> |
705 | LLStringBase<T>& LLStringBase<T>::assign(const T* s) | 705 | LLStringBase<T>& LLStringBase<T>::assign(const T* s) |
706 | { | 706 | { |
@@ -1095,7 +1095,7 @@ BOOL LLStringBase<T>::read(std::basic_string<T>& string, const char* filename) | |||
1095 | template<class T> | 1095 | template<class T> |
1096 | BOOL LLStringBase<T>::write(std::basic_string<T>& string, const char* filename) | 1096 | BOOL LLStringBase<T>::write(std::basic_string<T>& string, const char* filename) |
1097 | { | 1097 | { |
1098 | #ifdef LL_LINUX | 1098 | #if LL_LINUX || LL_SOLARIS |
1099 | printf("STUBBED: LLStringBase<T>::write at %s:%d\n", __FILE__, __LINE__); | 1099 | printf("STUBBED: LLStringBase<T>::write at %s:%d\n", __FILE__, __LINE__); |
1100 | #else | 1100 | #else |
1101 | llofstream ofs(filename, llofstream::binary); | 1101 | llofstream ofs(filename, llofstream::binary); |