Move zlib down

This commit is contained in:
Justine Tunney 2023-08-31 15:17:35 -07:00
parent 4021cd0c1e
commit e2b3c3618e
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
4 changed files with 10 additions and 10 deletions

View file

@ -19,6 +19,7 @@ THIRD_PARTY_ZLIB_A_CHECKS = \
THIRD_PARTY_ZLIB_A_DIRECTDEPS = \
LIBC_INTRIN \
LIBC_NEXGEN32E \
LIBC_MEM \
LIBC_STR \
LIBC_SYSV

View file

@ -313,11 +313,7 @@ voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
unsigned size;
{
(void)opaque;
if (_weaken(malloc)) {
return _weaken(malloc)(items * size);
} else {
return 0;
}
return malloc(items * size);
}
void ZLIB_INTERNAL zcfree (opaque, ptr)
@ -325,9 +321,7 @@ void ZLIB_INTERNAL zcfree (opaque, ptr)
voidpf ptr;
{
(void)opaque;
if (_weaken(free)) {
_weaken(free)(ptr);
}
free(ptr);
}
#endif /* MY_ZCALLOC */