[php-src] PR #15390: Fix GH-15381 (getrandom part).
| From: | devnexen | Date: | Tue, 13 Aug 2024 17:16:19 +0000 |
| Subject: | [php-src] PR #15390: Fix GH-15381 (getrandom part). | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27918@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15390
Author: devnexen
gcc nor clang provides a constant to distinguish illumos and solaris not the system provides a
kernel version stamp like the BSD. thus, we simply check the symbol and remaing purposely
conservative in the existing logic, using it only for solaris to avoid unexpected breakages for
other systems. would need a different fix for higher branches.