summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstringtable.h
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2009-09-09 20:59:38 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2009-09-09 20:59:38 +0000
commitbc1df4b1db40f2cff98b4002f3f2d3a723c84be5 (patch)
tree2b704bb91f4f039e241f40eb56b7d8352fffb8ba /indra/llcommon/llstringtable.h
parent8bed0558f538f7dfb8875e418f20c9d9da93ae17 (diff)
Fix a whole bunch of compilation warnings reported by gcc 4.4
Diffstat (limited to 'indra/llcommon/llstringtable.h')
-rw-r--r--indra/llcommon/llstringtable.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/indra/llcommon/llstringtable.h b/indra/llcommon/llstringtable.h
index 4492063275..2a0c0d8d29 100644
--- a/indra/llcommon/llstringtable.h
+++ b/indra/llcommon/llstringtable.h
@@ -48,10 +48,12 @@
//# define STRING_TABLE_HASH_MAP 1
#endif
-#if LL_WINDOWS
-#include <hash_map>
-#else
-#include <ext/hash_map>
+#if STRING_TABLE_HASH_MAP
+# if LL_WINDOWS
+# include <hash_map>
+# else
+# include <ext/hash_map>
+# endif
#endif
const U32 MAX_STRINGS_LENGTH = 256;