diff options
Diffstat (limited to 'ext/standard/streamsfuncs.h')
| -rw-r--r-- | ext/standard/streamsfuncs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/standard/streamsfuncs.h b/ext/standard/streamsfuncs.h index 19e2c1ef15..a3052bac63 100644 --- a/ext/standard/streamsfuncs.h +++ b/ext/standard/streamsfuncs.h @@ -56,10 +56,13 @@ PHP_FUNCTION(stream_filter_append); PHP_FUNCTION(stream_filter_remove); PHP_FUNCTION(stream_socket_enable_crypto); PHP_FUNCTION(stream_socket_shutdown); -PHP_FUNCTION(stream_socket_pair); PHP_FUNCTION(stream_is_local); PHP_FUNCTION(stream_supports_lock); +#if HAVE_SOCKETPAIR +PHP_FUNCTION(stream_socket_pair); +#endif + /* * Local variables: * tab-width: 4 |
