зеркало из https://github.com/mozilla/gecko-dev.git
Use PR_MIN just in case some systems don't have a MIN macro defined.
This commit is contained in:
Родитель
a0b88e8a8c
Коммит
ef3316bc57
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче