Fix to shut up the compilers on OSF/1.

This commit is contained in:
briano%netscape.com 1998-11-15 08:46:54 +00:00
parent c6f12a4376
commit 232e3ba63b
3 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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 */

View File

@ -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