diff options
author | Brian McGroarty <soft@lindenlab.com> | 2008-08-25 15:24:10 +0000 |
---|---|---|
committer | Brian McGroarty <soft@lindenlab.com> | 2008-08-25 15:24:10 +0000 |
commit | 0ae35124549a1fab117fa6631fc8adc54f0501b8 (patch) | |
tree | e9c5beb1d5b7a3fcc69bc121d9f7b5a2c5141b89 /indra/llcommon/llfindlocale.cpp | |
parent | cb7abfd595a0be6a36dd3ad8dbec0d9f053210a6 (diff) |
Fix gcc4 with proper Linden-canonical struct definitions
Diffstat (limited to 'indra/llcommon/llfindlocale.cpp')
-rw-r--r-- | indra/llcommon/llfindlocale.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/llfindlocale.cpp b/indra/llcommon/llfindlocale.cpp index e9779b9399..cd9b7ddbf6 100644 --- a/indra/llcommon/llfindlocale.cpp +++ b/indra/llcommon/llfindlocale.cpp @@ -180,10 +180,10 @@ canonise_fl(FL_Locale *l) { #define ML(pn,sn) MAKELANGID(LANG_##pn, SUBLANG_##pn##_##sn) #define MLN(pn) MAKELANGID(LANG_##pn, SUBLANG_DEFAULT) #define RML(pn,sn) MAKELANGID(LANG_##pn, SUBLANG_##sn) -typedef struct { +struct IDToCode { LANGID id; char* code; -} IDToCode; +}; static const IDToCode both_to_code[] = { {ML(ENGLISH,US), "en_US.ISO_8859-1"}, {ML(ENGLISH,CAN), "en_CA"}, /* english / canadian */ |