[php-src] PR #11726: Remove check for time.h and HAVE_TIME_H
| From: | petk | Date: | Mon, 17 Jul 2023 13:38:11 +0000 |
| Subject: | [php-src] PR #11726: Remove check for time.h and HAVE_TIME_H | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23073@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11726
Author: petk
The
<time.h> header file is part of the standard C89 headers [1] and on current
systems can be included unconditionally.
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
In [PHP 7.4](https://github.com/php/php-src/blob/PHP-7.4/UPGRADING.INTERNALS) these were already
cleaned a bit. Probably we don't need to re-add it in PHP 8.3.