Changeset 6715


Ignore:
Timestamp:
Sep 5, 2008, 3:13:09 PM (13 years ago)
Author:
muks
Message:

(win32) Fix the GTK+ client to build for win32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-io.c

    r5276 r6715  
    2424
    2525#include <sys/types.h>
     26#ifdef WIN32
     27#include <winsock2.h>
     28#include <ws2tcpip.h>
     29#include <io.h>
     30#define EWOULDBLOCK WSAEWOULDBLOCK
     31#define ECONNREFUSED WSAECONNREFUSED
     32#define ECONNABORTED WSAECONNABORTED
     33#else
    2634#include <sys/socket.h>
     35#endif
    2736#include <errno.h>
    2837#include <string.h> /* memset, memmove */
Note: See TracChangeset for help on using the changeset viewer.