Skip to content

Commit beab622

Browse files
committed
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: The SO_PASSCRED constant is conditionally defined
2 parents d990b93 + 35713ef commit beab622

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/sockets/tests/socket_cmsg_credentials.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ die('skip not for Microsoft Windows');
1111
if (strtolower(substr(PHP_OS, 0, 3)) == 'aix') {
1212
die('skip not for AIX');
1313
}
14+
if (!defined('SO_PASSCRED')) {
15+
die('skip SO_PASSCRED is not defined');
16+
}
1417
--CLEAN--
1518
<?php
1619
$path = __DIR__ . "/unix_sock";

0 commit comments

Comments
 (0)