diff options
-rw-r--r-- | ext/sockets/tests/socket_cmsg_credentials.phpt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/sockets/tests/socket_cmsg_credentials.phpt b/ext/sockets/tests/socket_cmsg_credentials.phpt index 922be0bb37..6fa2517db2 100644 --- a/ext/sockets/tests/socket_cmsg_credentials.phpt +++ b/ext/sockets/tests/socket_cmsg_credentials.phpt @@ -11,6 +11,9 @@ die('skip not for Microsoft Windows'); if (strtolower(substr(PHP_OS, 0, 3)) == 'aix') { die('skip not for AIX'); } +if (!defined('SO_PASSCRED')) { +die('skip SO_PASSCRED is not defined'); +} --CLEAN-- <?php $path = __DIR__ . "/unix_sock"; |