]> granicus.if.org Git - php/commitdiff
ifdef away win32 only variables.
authorIlia Alshanetsky <iliaa@php.net>
Mon, 12 May 2003 04:05:54 +0000 (04:05 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 12 May 2003 04:05:54 +0000 (04:05 +0000)
main/network.c

index 7a78b6835313bd840381225eb3bf943df476c509..2990ed5a1c85de1093da661efd950e411d8ee4e1 100644 (file)
@@ -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