Changeset fcc2da9


Ignore:
Timestamp:
2006-05-26T15:46:51Z (19 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
875ad42
Parents:
aec56b0
Message:

Remove unnecessary Windows-specific code.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • protocols/yahoo/libyahoo2.c

    raec56b0 rfcc2da9  
    6969#ifdef __MINGW32__
    7070# 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)
    7371#endif
    7472
  • protocols/yahoo/yahoo_httplib.c

    raec56b0 rfcc2da9  
    5151#ifdef __MINGW32__
    5252# 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)
    5553# define snprintf _snprintf
    5654#endif
  • sock.h

    raec56b0 rfcc2da9  
    2121#else
    2222# include <winsock2.h>
     23# ifdef IPV6
     24#  include <ws2tcpip.h>
     25# endif
    2326# if !defined(BITLBEE_CORE) && defined(_MSC_VER)
    2427#   pragma comment(lib,"bitlbee.lib")
    2528# endif
    2629# 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)
    2930# define sock_make_nonblocking(fd) { int non_block = 1; ioctlsocket(fd, FIONBIO, &non_block); }
    3031# define sock_make_blocking(fd) { int non_block = 0; ioctlsocket(fd, FIONBIO, &non_block); }
Note: See TracChangeset for help on using the changeset viewer.