mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove malloc.h (#13436)
This removes the deprecated malloc.h header Autoconf check on *nix systems and its HAVE_MALLOC_H symbol. It can be replaced mostly with the stdlib.h. The libgd usptream also doesn't include it anymore. On Windows, it is still used for some memory allocation functions, but can be replaced with stdlib.h in the future.
This commit is contained in:
parent
056c43f848
commit
b41a5023f9
2 changed files with 0 additions and 4 deletions
|
@ -398,7 +398,6 @@ grp.h \
|
|||
ieeefp.h \
|
||||
langinfo.h \
|
||||
linux/sock_diag.h \
|
||||
malloc.h \
|
||||
os/signpost.h \
|
||||
poll.h \
|
||||
pty.h \
|
||||
|
|
|
@ -41,9 +41,6 @@
|
|||
/*********************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#if (!defined(__OpenBSD__)) && defined(HAVE_MALLOC_H)
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#ifndef NULL
|
||||
#define NULL (void *)0
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue