diff options
Diffstat (limited to 'ext/sockets/php_sockets.h')
| -rw-r--r-- | ext/sockets/php_sockets.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/php_sockets.h b/ext/sockets/php_sockets.h index 5d160411d1..f0c9cc5203 100644 --- a/ext/sockets/php_sockets.h +++ b/ext/sockets/php_sockets.h @@ -43,7 +43,7 @@ PHP_RSHUTDOWN_FUNCTION(sockets); PHP_FUNCTION(socket_select); PHP_FUNCTION(socket_create_listen); -#ifdef HAVE_SOCKETPAIR +#if defined(HAVE_SOCKETPAIR) || defined(PHP_WIN32) PHP_FUNCTION(socket_create_pair); #endif PHP_FUNCTION(socket_accept); |
