Changeset fcc2da9 for sock.h


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

Remove unnecessary Windows-specific code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.