Bug 283356 : nsPSPrinters.cpp compile error: implicit declaration of function `int strcasecmp(...)', patch by Max Feil <mfeil@qnx.com>, r=kherron, sr=tor

This commit is contained in:
gavin%gavinsharp.com 2005-08-16 12:16:08 +00:00
parent 06d66d8405
commit 4b53ad80e4

View File

@ -80,7 +80,7 @@ PRBool
nsPSPrinterList::Enabled()
{
const char *val = PR_GetEnv("MOZILLA_POSTSCRIPT_ENABLED");
if (val && (val[0] == '0' || !strcasecmp(val, "false")))
if (val && (val[0] == '0' || !PL_strcasecmp(val, "false")))
return PR_FALSE;
// is the PS module enabled?