- Timestamp:
- 2005-12-17T01:25:32Z (19 years ago)
- Branches:
- master
- Children:
- 643dfc4
- Parents:
- bd69a21
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sock.h
rbd69a21 r4146a07 10 10 #else 11 11 # include <winsock2.h> 12 # ifndef _MSC_VER13 # include <ws2tcpip.h>14 # endif15 12 # if !defined(BITLBEE_CORE) && defined(_MSC_VER) 16 13 # pragma comment(lib,"bitlbee.lib") … … 19 16 # define read(a,b,c) recv(a,b,c,0) 20 17 # define write(a,b,c) send(a,b,c,0) 21 # define umask _umask22 # define mode_t int23 18 # define sock_make_nonblocking(fd) { int non_block = 1; ioctlsocket(fd, FIONBIO, &non_block); } 24 19 # define sockerr_again() (WSAGetLastError() == WSAEINTR || WSAGetLastError() == WSAEINPROGRESS || WSAGetLastError() == WSAEWOULDBLOCK)
Note: See TracChangeset
for help on using the changeset viewer.