]> granicus.if.org Git - php/commitdiff
Fix build
authorHannes Magnusson <bjori@php.net>
Sat, 24 Jan 2009 12:42:19 +0000 (12:42 +0000)
committerHannes Magnusson <bjori@php.net>
Sat, 24 Jan 2009 12:42:19 +0000 (12:42 +0000)
ext/sockets/php_sockets.h

index aebe3ea4bf03204e7e049a6ec69aa5636dc3782a..3db96dc2ab87a92b3833d168bb960fd39aec66d1 100644 (file)
@@ -43,7 +43,7 @@ PHP_RSHUTDOWN_FUNCTION(sockets);
 
 PHP_FUNCTION(socket_select);
 PHP_FUNCTION(socket_create_listen);
-#ifdef PHP_WIN32
+#ifdef HAVE_SOCKETPAIR
 PHP_FUNCTION(socket_create_pair);
 #endif
 PHP_FUNCTION(socket_accept);