mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
77118fc925
The `<assert.h>` header file is part of the standard C89 headers [1] and on older systems there needed to be also a manual check if header is present. Since PHP requires at least C89 manual check and the `HAVE_ASSERT_H` symbol defined by Autoconf in configure.ac can be both removed [2]. This patch also removes unused <assert.h> includes where c files don't use the `assert()` macro. Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.2 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 |
||
---|---|---|
.. | ||
buildconf.js | ||
config.w32 | ||
config.w32.h.in | ||
config.w32.phpize.in | ||
configure.bat | ||
configure.tail | ||
confutils.js | ||
cppcheck_suppress.txt | ||
cppcheck_x64.cfg | ||
cppcheck_x86.cfg | ||
cppcheck.cfg | ||
default.manifest | ||
deplister.c | ||
libs_version.txt | ||
Makefile | ||
Makefile.phpize | ||
mkdist.php | ||
php.ico | ||
phpize.bat | ||
phpize.js.in | ||
registersyslog.php | ||
template.rc | ||
wsyslog.mc |