summaryrefslogtreecommitdiff
path: root/ext/sockets/php_sockets.h
diff options
context:
space:
mode:
authorHannes Magnusson <bjori@php.net>2009-01-24 12:42:19 +0000
committerHannes Magnusson <bjori@php.net>2009-01-24 12:42:19 +0000
commitcbd8949ab5ce9b424a64b0732ba50e9b4abba833 (patch)
tree6c8d652064e441edf62d7c1d7da71df022ffd14c /ext/sockets/php_sockets.h
parent40a41b09532fb6362935602f852e746765670d69 (diff)
downloadphp-git-cbd8949ab5ce9b424a64b0732ba50e9b4abba833.tar.gz
Fix build
Diffstat (limited to 'ext/sockets/php_sockets.h')
-rw-r--r--ext/sockets/php_sockets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/php_sockets.h b/ext/sockets/php_sockets.h
index aebe3ea4bf..3db96dc2ab 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 PHP_WIN32
+#ifdef HAVE_SOCKETPAIR
PHP_FUNCTION(socket_create_pair);
#endif
PHP_FUNCTION(socket_accept);