[php-src] PR #14821: Remove HAVE_STRPTIME_DECL_FAILS
| From: | petk | Date: | Thu, 04 Jul 2024 15:29:58 +0000 |
| Subject: | [php-src] PR #14821: Remove HAVE_STRPTIME_DECL_FAILS | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27037@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14821
Author: petk
The strptime, where available, needs the _GNU_SOURCE defined or compiler flag -std=gnuXX appended to
be declared in time.h. PHP's strptime is also deprecated as of PHP 8.1.
This removes the HAVE_STRPTIME_DECL_FAILS in favor of a simpler AC_CHECK_DECL check and
HAVE_DECL_STRPTIME CPP macro.