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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user