- Timestamp:
- 2008-04-02T14:22:57Z (15 years ago)
- Branches:
- master
- Children:
- f9dbc99
- Parents:
- 875ad42 (diff), dd34575 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sock.h
r875ad42 r85d7b85 1 1 #include <errno.h> 2 2 #include <fcntl.h> 3 4 /* To cut down on the ifdef stuff a little bit in other places */5 #ifdef IPV66 #define AF_INETx AF_INET67 #else8 #define AF_INETx AF_INET9 #endif10 3 11 4 #ifndef _WIN32 … … 18 11 #define sock_make_blocking(fd) fcntl(fd, F_SETFL, 0) 19 12 #define sockerr_again() (errno == EINPROGRESS || errno == EINTR) 13 #ifndef EVENTS_LIBEVENT 20 14 #define closesocket(a) close(a) 15 #endif 21 16 #else 22 17 # include <winsock2.h>
Note: See TracChangeset
for help on using the changeset viewer.