]> granicus.if.org Git - php/commit
Remove HAVE_STDDEF_H
authorPeter Kokot <peterkokot@gmail.com>
Wed, 5 Sep 2018 00:53:12 +0000 (02:53 +0200)
committerJoe Watkins <krakjoe@php.net>
Wed, 5 Sep 2018 09:51:19 +0000 (11:51 +0200)
commit6c1ff61a368a26c8f2cbf383aa8a26fc30cf59ef
tree3b0210401c55571e06ac3337a0fa2f3432820900
parent3b1b0c589d72763940525197f4ed73b32836f483
Remove HAVE_STDDEF_H

The `<stddef.h>` header file is part of the standard C89 headers [1] and
on current systems there is no need for a manual check if header is
present.

Since PHP requires at least C89 the `HAVE_STDDEF_H` symbol isn't defined
by Autoconf anywhere else anymore [2] and accross the PHP source code
the header is included unconditionally already.

This patch syncs this also for the bundled libmbfl which is maintaned as
a fork in php-src.

Refs:
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
25 files changed:
ext/mbstring/libmbfl/config.h.in
ext/mbstring/libmbfl/config.h.w32
ext/mbstring/libmbfl/mbfl/mbfilter.c
ext/mbstring/libmbfl/mbfl/mbfilter_8bit.c
ext/mbstring/libmbfl/mbfl/mbfilter_pass.c
ext/mbstring/libmbfl/mbfl/mbfilter_wchar.c
ext/mbstring/libmbfl/mbfl/mbfl_allocators.c
ext/mbstring/libmbfl/mbfl/mbfl_convert.c
ext/mbstring/libmbfl/mbfl/mbfl_encoding.c
ext/mbstring/libmbfl/mbfl/mbfl_ident.c
ext/mbstring/libmbfl/mbfl/mbfl_language.c
ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c
ext/mbstring/libmbfl/mbfl/mbfl_string.c
ext/mbstring/libmbfl/nls/nls_de.c
ext/mbstring/libmbfl/nls/nls_en.c
ext/mbstring/libmbfl/nls/nls_hy.c
ext/mbstring/libmbfl/nls/nls_ja.c
ext/mbstring/libmbfl/nls/nls_kr.c
ext/mbstring/libmbfl/nls/nls_neutral.c
ext/mbstring/libmbfl/nls/nls_ru.c
ext/mbstring/libmbfl/nls/nls_tr.c
ext/mbstring/libmbfl/nls/nls_ua.c
ext/mbstring/libmbfl/nls/nls_uni.c
ext/mbstring/libmbfl/nls/nls_zh.c
main/php_network.h