mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0: Fix GH-7978: sockets extension compilation errors
This commit is contained in:
commit
943d6f642a
2 changed files with 6 additions and 0 deletions
3
NEWS
3
NEWS
|
@ -26,6 +26,9 @@ PHP NEWS
|
|||
- pcntl:
|
||||
. Fixed pcntl_rfork build for DragonFlyBSD. (David Carlier)
|
||||
|
||||
- Sockets:
|
||||
. Fixed bug GH-7978 (sockets extension compilation errors). (David Carlier)
|
||||
|
||||
- Standard:
|
||||
. Fixed bug GH-7899 (Regression in unpack for negative int value). (Remi)
|
||||
. Fixed bug GH-7875 (mails are sent even if failure to log throws exception).
|
||||
|
|
|
@ -67,6 +67,9 @@ if test "$PHP_SOCKETS" != "no"; then
|
|||
AC_CACHE_CHECK([if ancillary credentials uses ucred],[ac_cv_ucred],
|
||||
[
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
#include <sys/socket.h>
|
||||
]], [[struct ucred u = {.gid = 0};]])],
|
||||
[ac_cv_ucred=yes], [ac_cv_ucred=no])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue