diff --git a/intl/locale/src/os2/nsCollationOS2.cpp b/intl/locale/src/os2/nsCollationOS2.cpp index 761035b0c4e9..4a8076759ab4 100644 --- a/intl/locale/src/os2/nsCollationOS2.cpp +++ b/intl/locale/src/os2/nsCollationOS2.cpp @@ -62,6 +62,11 @@ nsCollationOS2::~nsCollationOS2() delete mCollation; } +/* Workaround for GCC problem */ +#ifndef LOCI_iCodepage +#define LOCI_iCodepage 111 +#endif + nsresult nsCollationOS2::Initialize(nsILocale *locale) { #define kPlatformLocaleLength 64