Issue #1338 - Part 1: Update NSPR to 4.24

This commit is contained in:
wolfbeast 2020-01-02 21:01:38 +01:00 • committed by Roy Tam
commit 1a92143e68
454 changed files with 42944 additions and 48647 deletions

View file

@ -27,16 +27,20 @@ int main(int argc, char **argv)
char *ptr = NULL;
/* this fails to compile with the old definition of PR_DELETE */
if (foo)
if (foo) {
PR_DELETE(ptr);
else
}
else {
Noop();
}
/* this nests incorrectly with the old definition of PR_FREEIF */
if (foo)
if (foo) {
PR_FREEIF(ptr);
else
}
else {
Fail();
}
printf("PASS\n");
return 0;