Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sock.h

    r25b5a4a r136c2bb  
    1111#define sock_make_blocking(fd) fcntl(fd, F_SETFL, 0)
    1212#define sockerr_again() (errno == EINPROGRESS || errno == EINTR)
     13#ifndef EVENTS_LIBEVENT
     14#define closesocket(a) close(a)
     15#else
    1316void closesocket( int fd );
     17#endif
    1418#else
    1519# include <winsock2.h>
Note: See TracChangeset for help on using the changeset viewer.