1
0
mirror of https://github.com/php/php-src.git synced 2026-04-13 02:52:48 +02:00
Files
archived-php-src/main
Peter Kokot 77118fc925 Remove HAVE_ASSERT_H
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
2018-09-09 09:43:03 +02:00
..
2018-08-28 15:43:34 +02:00
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00
2018-09-04 11:13:14 +02:00
2018-08-12 16:15:45 +02:00
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00
2018-09-05 11:51:19 +02:00
2018-09-04 12:01:24 +02:00
2018-01-02 12:57:58 +08:00
2018-09-09 09:43:03 +02:00
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00
2018-08-28 10:17:33 +02:00
2018-09-09 09:43:03 +02:00
2018-07-25 11:57:11 +02:00
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00
2018-08-12 16:15:45 +02:00
2018-07-25 00:53:25 +02:00
2018-01-02 12:57:58 +08:00
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00