From: Ilia Alshanetsky Date: Mon, 12 May 2003 04:05:54 +0000 (+0000) Subject: ifdef away win32 only variables. X-Git-Tag: php-4.3.2RC3~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38beab8a1e0a91223d7f1561225c772e6743fdd4;p=php ifdef away win32 only variables. --- diff --git a/main/network.c b/main/network.c index 7a78b68353..2990ed5a1c 100644 --- a/main/network.c +++ b/main/network.c @@ -1015,9 +1015,11 @@ static size_t php_sockop_read(php_stream *stream, char *buf, size_t count TSRMLS static int php_sockop_close(php_stream *stream, int close_handle TSRMLS_DC) { php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; +#ifdef PHP_WIN32 fd_set wrfds, efds; int n; struct timeval timeout; +#endif if (close_handle) { #if HAVE_OPENSSL_EXT