summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/llstring.h')
-rw-r--r--indra/llcommon/llstring.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/llcommon/llstring.h b/indra/llcommon/llstring.h
index c958e08415..3005155b19 100644
--- a/indra/llcommon/llstring.h
+++ b/indra/llcommon/llstring.h
@@ -20,7 +20,7 @@
#include <errno.h>
#include <math.h>
#include <stdarg.h> /* for vsnprintf */
-#if LL_LINUX
+#if LL_LINUX || LL_SOLARIS
#include <wctype.h>
#include <wchar.h>
#endif
@@ -34,7 +34,7 @@ class LLUUID;
class LLColor4;
class LLColor4U;
-#if (LL_DARWIN || (LL_LINUX && __GNUC__ > 2))
+#if (LL_DARWIN || LL_SOLARIS || (LL_LINUX && __GNUC__ > 2))
// Template specialization of char_traits for U16s. Only necessary on Mac for now (exists on Windows, unused/broken on Linux/gcc2.95)
namespace std
{
@@ -185,7 +185,7 @@ public:
LLStringBase(const T* s, size_type n);
LLStringBase(const T* s, size_type pos, size_type n );
-#if LL_LINUX
+#if LL_LINUX || LL_SOLARIS
void clear() { assign(null); }
LLStringBase<T>& assign(const T* s);
@@ -680,7 +680,7 @@ LLStringBase<T>::LLStringBase(const T* s, size_type pos, size_type n ) : std::ba
}
}
-#if LL_LINUX
+#if LL_LINUX || LL_SOLARIS
template<class T>
LLStringBase<T>& LLStringBase<T>::assign(const T* s)
{
@@ -1075,7 +1075,7 @@ BOOL LLStringBase<T>::read(std::basic_string<T>& string, const char* filename)
template<class T>
BOOL LLStringBase<T>::write(std::basic_string<T>& string, const char* filename)
{
-#ifdef LL_LINUX
+#if LL_LINUX || LL_SOLARIS
printf("STUBBED: LLStringBase<T>::write at %s:%d\n", __FILE__, __LINE__);
#else
llofstream ofs(filename, llofstream::binary);