Use PR_MIN just in case some systems don't have a MIN macro defined.

git-svn-id: svn://10.0.0.236/trunk@78198 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
javi%netscape.com
2000-09-05 23:55:55 +00:00
parent f364da6ba8
commit a4e080c7ec

View File

@@ -86,7 +86,7 @@ extern PRBool standalone;
/* Safe strcmp() which compares only based on the shorter
of the two lengths. DO NOT USE if you really want to determine
string equality -- this is used for sloppy parameter matches. */
#define MIN_STRCMP(x,y) strncmp((x), (y), MIN(strlen(x),strlen(y)))
#define MIN_STRCMP(x,y) strncmp((x), (y), PR_MIN(strlen(x),strlen(y)))
/* forward declare this type to eliminate circular dependencies */
typedef struct SSMResource SSMResource;