mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-08 08:17:31 +09:00
Issue #1338 - Part 1: Update NSPR to 4.24
This commit is contained in:
parent
f6096004d7
commit
1a92143e68
454 changed files with 42944 additions and 48647 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue