summaryrefslogtreecommitdiff
path: root/main/streams
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-12-05 13:41:02 +0000
committerWez Furlong <wez@php.net>2003-12-05 13:41:02 +0000
commitab0029cabfabbad38fd44e4037cef3290ab8af87 (patch)
tree16d1f4e37a1e037acb77ee8ea8f1638a90291202 /main/streams
parentc976456071c557ac4584c260e856701615b60b28 (diff)
downloadphp-git-ab0029cabfabbad38fd44e4037cef3290ab8af87.tar.gz
Be smarter about which systems should register unix transports.
Fix skip conditions in these network tests
Diffstat (limited to 'main/streams')
-rwxr-xr-xmain/streams/streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c
index c612e4ca4d..4a72d3840d 100755
--- a/main/streams/streams.c
+++ b/main/streams/streams.c
@@ -1353,7 +1353,7 @@ int php_init_stream_wrappers(int module_number TSRMLS_DC)
php_stream_xport_register("tcp", php_stream_generic_socket_factory TSRMLS_CC) == SUCCESS
&&
php_stream_xport_register("udp", php_stream_generic_socket_factory TSRMLS_CC) == SUCCESS
-#ifdef AF_UNIX
+#if defined(AF_UNIX) && !(defined(PHP_WIN32) || defined(__riscos__) || defined(NETWARE))
&&
php_stream_xport_register("unix", php_stream_generic_socket_factory TSRMLS_CC) == SUCCESS
&&