Changeset fcc2da9
- Timestamp:
- 2006-05-26T15:46:51Z (19 years ago)
- Branches:
- master
- Children:
- 875ad42
- Parents:
- aec56b0
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/libyahoo2.c
raec56b0 rfcc2da9 69 69 #ifdef __MINGW32__ 70 70 # include <winsock2.h> 71 # define write(a,b,c) send(a,b,c,0)72 # define read(a,b,c) recv(a,b,c,0)73 71 #endif 74 72 -
protocols/yahoo/yahoo_httplib.c
raec56b0 rfcc2da9 51 51 #ifdef __MINGW32__ 52 52 # include <winsock2.h> 53 # define write(a,b,c) send(a,b,c,0)54 # define read(a,b,c) recv(a,b,c,0)55 53 # define snprintf _snprintf 56 54 #endif -
sock.h
raec56b0 rfcc2da9 21 21 #else 22 22 # include <winsock2.h> 23 # ifdef IPV6 24 # include <ws2tcpip.h> 25 # endif 23 26 # if !defined(BITLBEE_CORE) && defined(_MSC_VER) 24 27 # pragma comment(lib,"bitlbee.lib") 25 28 # endif 26 29 # include <io.h> 27 # define read(a,b,c) recv(a,b,c,0)28 # define write(a,b,c) send(a,b,c,0)29 30 # define sock_make_nonblocking(fd) { int non_block = 1; ioctlsocket(fd, FIONBIO, &non_block); } 30 31 # define sock_make_blocking(fd) { int non_block = 0; ioctlsocket(fd, FIONBIO, &non_block); }
Note: See TracChangeset
for help on using the changeset viewer.