Changeset e252d8c for lib/proxy.c


Ignore:
Timestamp:
2014-09-27T14:54:35Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
ebe2c5e, f329dfc
Parents:
d348377
Message:

RIP native win32 support (use cygwin instead)

It has been broken for a very long time and nobody cared about it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/proxy.c

    rd348377 re252d8c  
    2626#include <string.h>
    2727#include <sys/types.h>
    28 #ifndef _WIN32
    2928#include <sys/socket.h>
    3029#include <netdb.h>
     
    3231#include <arpa/inet.h>
    3332#include <unistd.h>
    34 #else
    35 #include "sock.h"
    36 #define ETIMEDOUT WSAETIMEDOUT
    37 #define EINPROGRESS WSAEINPROGRESS
    38 #endif
    3933#include <fcntl.h>
    4034#include <errno.h>
     
    7670        len = sizeof(error);
    7771       
    78 #ifndef _WIN32
    7972        if (getsockopt(source, SOL_SOCKET, SO_ERROR, &error, &len) < 0 || error) {
    8073                if ((phb->gai_cur = phb->gai_cur->ai_next)) {
     
    10194                return FALSE;
    10295        }
    103 #endif
    10496        freeaddrinfo(phb->gai);
    10597        sock_make_blocking(source);
Note: See TracChangeset for help on using the changeset viewer.