Changeset 25b5a4a for sock.h


Ignore:
Timestamp:
2010-10-03T03:03:19Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
508588a
Parents:
04f0c10
Message:

Make sure events_*.c are fully compatible to callers so plugins built for
a different flavour will still work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sock.h

    r04f0c10 r25b5a4a  
    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
    1613void closesocket( int fd );
    17 #endif
    1814#else
    1915# include <winsock2.h>
Note: See TracChangeset for help on using the changeset viewer.