diff --git a/mozilla/security/psm/server/serv.h b/mozilla/security/psm/server/serv.h index 6448ddd1d3e..aec5b96499a 100644 --- a/mozilla/security/psm/server/serv.h +++ b/mozilla/security/psm/server/serv.h @@ -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;