Ignore:
Timestamp:
Jun 25, 2010, 8:36:10 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #3311 "MingW build of Transmission" -- apply further win32 diffs from rb07

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/web.c

    r10845 r10858  
    1111 */
    1212
    13 #include <sys/select.h>
     13#ifdef WIN32
     14  #include <ws2tcpip.h>
     15#else
     16  #include <sys/select.h>
     17#endif
    1418
    1519#include <curl/curl.h>
     
    307311#ifdef WIN32
    308312            /* see ticket #3311, comments 16-18 */
    309             if( !r_fd_set.fd_count && !w_fd.set.fd_count && !c_fd_set.fd_count )
    310                 tr_wait( msec );
     313            if( !r_fd_set.fd_count && !w_fd_set.fd_count && !c_fd_set.fd_count )
     314                tr_wait_msec( msec );
    311315            else
    312316                select( 0, r_fd_set.fd_count ? &r_fd_set : NULL,
    313                            w_fd.set.fd_count ? &w_fd_set : NULL,
    314                            c_fd.set.fd_count ? &c_fd_set : NULL, &t );
     317                           w_fd_set.fd_count ? &w_fd_set : NULL,
     318                           c_fd_set.fd_count ? &c_fd_set : NULL, &t );
    315319#else
    316320            select( max_fd+1, &r_fd_set, &w_fd_set, &c_fd_set, &t );
Note: See TracChangeset for help on using the changeset viewer.