- not used on win

This commit is contained in:
Pierre Joye 2011-03-30 09:46:56 +00:00
parent f7249e7c5c
commit 27c0221dc9

View File

@ -2441,8 +2441,10 @@ PHP_FUNCTION(socket_import_stream)
PHP_SOCKET socket; /* fd */
php_sockaddr_storage addr;
socklen_t addr_len = sizeof(addr);
#ifndef PHP_WIN32
int t;
#endif
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &zstream) == FAILURE) {
return;
}