diff options
author | Jani Taskinen <jani@php.net> | 2007-07-22 22:17:51 +0000 |
---|---|---|
committer | Jani Taskinen <jani@php.net> | 2007-07-22 22:17:51 +0000 |
commit | 4e921b7ea6ef1fc069ffc46e9ba745025555b651 (patch) | |
tree | e06a70001240af8c18b42cb7bff653639235137f /ext/sockets/php_sockets.h | |
parent | e5a2101c2a4887359a8bd7e03ce1690867a384c3 (diff) | |
download | php-git-4e921b7ea6ef1fc069ffc46e9ba745025555b651.tar.gz |
MFB: sockepair is not always available
Diffstat (limited to 'ext/sockets/php_sockets.h')
-rw-r--r-- | ext/sockets/php_sockets.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/sockets/php_sockets.h b/ext/sockets/php_sockets.h index b89f4f6eb4..657f4276b2 100644 --- a/ext/sockets/php_sockets.h +++ b/ext/sockets/php_sockets.h @@ -45,7 +45,9 @@ PHP_RSHUTDOWN_FUNCTION(sockets); PHP_FUNCTION(socket_select); PHP_FUNCTION(socket_create_listen); +#ifdef HAVE_SOCKETPAIR PHP_FUNCTION(socket_create_pair); +#endif PHP_FUNCTION(socket_accept); PHP_FUNCTION(socket_set_nonblock); PHP_FUNCTION(socket_set_block); |