diff options
Diffstat (limited to 'linden/indra/llcommon')
-rw-r--r-- | linden/indra/llcommon/llstring.h | 1 | ||||
-rw-r--r-- | linden/indra/llcommon/stdtypes.h | 9 |
2 files changed, 9 insertions, 1 deletions
diff --git a/linden/indra/llcommon/llstring.h b/linden/indra/llcommon/llstring.h index 7db62bc..3c6cd43 100644 --- a/linden/indra/llcommon/llstring.h +++ b/linden/indra/llcommon/llstring.h | |||
@@ -870,6 +870,7 @@ void LLStringUtilBase<T>::addCRLF(std::basic_string<T>& string) | |||
870 | } | 870 | } |
871 | 871 | ||
872 | string.assign(t, size); | 872 | string.assign(t, size); |
873 | delete[] t; | ||
873 | } | 874 | } |
874 | } | 875 | } |
875 | 876 | ||
diff --git a/linden/indra/llcommon/stdtypes.h b/linden/indra/llcommon/stdtypes.h index af0b4dd..aed1e46 100644 --- a/linden/indra/llcommon/stdtypes.h +++ b/linden/indra/llcommon/stdtypes.h | |||
@@ -64,10 +64,17 @@ typedef long long unsigned int U64; | |||
64 | #endif | 64 | #endif |
65 | #endif | 65 | #endif |
66 | 66 | ||
67 | #ifdef LL_DARWIN | ||
68 | #ifndef BOOL | ||
69 | #define BOOL S32 | ||
70 | #endif | ||
71 | #else | ||
72 | typedef S32 BOOL; | ||
73 | #endif | ||
74 | |||
67 | typedef float F32; | 75 | typedef float F32; |
68 | typedef double F64; | 76 | typedef double F64; |
69 | 77 | ||
70 | typedef S32 BOOL; | ||
71 | typedef U8 KEY; | 78 | typedef U8 KEY; |
72 | typedef U32 MASK; | 79 | typedef U32 MASK; |
73 | typedef U32 TPACKETID; | 80 | typedef U32 TPACKETID; |