mirror of
https://github.com/php/php-src.git
synced 2026-04-28 18:53:33 +02:00
6c1ff61a36
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
19 lines
289 B
C
19 lines
289 B
C
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#include <stddef.h>
|
|
|
|
#include "mbfilter.h"
|
|
#include "nls_ru.h"
|
|
|
|
const mbfl_language mbfl_language_russian = {
|
|
mbfl_no_language_russian,
|
|
"Russian",
|
|
"ru",
|
|
NULL,
|
|
mbfl_no_encoding_koi8r,
|
|
mbfl_no_encoding_qprint,
|
|
mbfl_no_encoding_8bit
|
|
};
|