diff --git a/mozilla/lib/libi18n/cns2b5.c b/mozilla/lib/libi18n/cns2b5.c index d17ca6c18fd..fb91a5464be 100644 --- a/mozilla/lib/libi18n/cns2b5.c +++ b/mozilla/lib/libi18n/cns2b5.c @@ -20,4 +20,8 @@ #ifdef FEATURE_BIG5CNS #include "cns2b5.i00" +#else +#ifdef OSF1 +static int dumbcc = 0; /* The 3.2 compiler aborts when there's "nothing to compile", and 4.0 warns. This fixes both problems. */ +#endif #endif diff --git a/mozilla/lib/libi18n/katakana.c b/mozilla/lib/libi18n/katakana.c index 7294beb7abc..500b74edb62 100644 --- a/mozilla/lib/libi18n/katakana.c +++ b/mozilla/lib/libi18n/katakana.c @@ -149,4 +149,8 @@ MODULE_PRIVATE XP_Bool INTL_GetSendHankakuKana() return send_hankaku_kana; } +#else +#ifdef OSF1 +static int dumbcc = 0; /* The 3.2 compiler aborts when there's "nothing to compile", and 4.0 warns. This fixes both problems. */ +#endif #endif /* MOZ_MAIL_NEWS */ diff --git a/mozilla/lib/libmocha/lm_hardw.c b/mozilla/lib/libmocha/lm_hardw.c index 7551692e1c9..a2b883a89d3 100644 --- a/mozilla/lib/libmocha/lm_hardw.c +++ b/mozilla/lib/libmocha/lm_hardw.c @@ -152,4 +152,8 @@ lm_DefineHardware(MochaDecoder *decoder, JSObject *parent) decoder->hardware = obj; return obj; } +#else +#ifdef OSF1 +static int dumbcc = 0; /* The 3.2 compiler aborts when there's "nothing to compile", and 4.0 warns. This fixes both problems. */ +#endif #endif