[php-src] PR #14565: Rename HAVE_DECL_ARC4RANDOM_BUF to HAVE_ARC4RANDOM_BUF

From: Date: Thu, 13 Jun 2024 16:43:56 +0000
Subject: [php-src] PR #14565: Rename HAVE_DECL_ARC4RANDOM_BUF to HAVE_ARC4RANDOM_BUF
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-26672@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/14565 Author: petk AC_CHECK_DECLS defines HAVE_DECL_ARC4RANDOM_BUF to 0 or 1. On Windows this isn't defined to 0. To avoid the undefined state, the AC_CHECK_DECL is used to manually define the HAVE_ARC4RANDOM_BUF to 1 if declaration is found, otherwise undefined. In the future on current platforms, also AC_CHECK_FUNCS can be used instead since the arc4random_buf is located in default libraries (C) with declaration available in headers.

« previous php.git-pulls (#26672) next »