Fix to shut up the compilers on OSF/1.

git-svn-id: svn://10.0.0.236/trunk@14705 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
briano%netscape.com
1998-11-15 08:46:54 +00:00
parent aef7ac5a48
commit 4bbb85313c
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