aboutsummaryrefslogtreecommitdiffstats
path: root/lib/proxy.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2014-09-27 11:54:35 -0300
committerdequis <dx@dxzone.com.ar>2014-09-27 11:54:35 -0300
commite252d8cab06e038e5801652bedf02de9170c7945 (patch)
treed83b96948a6f7b303e98727faa6a15ba8453ed09 /lib/proxy.c
parentd3483776b4b7f45b99127240d76f3c978c260ca2 (diff)
RIP native win32 support (use cygwin instead)
It has been broken for a very long time and nobody cared about it.
Diffstat (limited to 'lib/proxy.c')
-rw-r--r--lib/proxy.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/proxy.c b/lib/proxy.c
index b6b02d72..6ada4917 100644
--- a/lib/proxy.c
+++ b/lib/proxy.c
@@ -25,17 +25,11 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
-#ifndef _WIN32
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
-#else
-#include "sock.h"
-#define ETIMEDOUT WSAETIMEDOUT
-#define EINPROGRESS WSAEINPROGRESS
-#endif
#include <fcntl.h>
#include <errno.h>
#include "nogaim.h"
@@ -75,7 +69,6 @@ static gboolean gaim_io_connected(gpointer data, gint source, b_input_condition
int error = ETIMEDOUT;
len = sizeof(error);
-#ifndef _WIN32
if (getsockopt(source, SOL_SOCKET, SO_ERROR, &error, &len) < 0 || error) {
if ((phb->gai_cur = phb->gai_cur->ai_next)) {
int new_fd;
@@ -100,7 +93,6 @@ static gboolean gaim_io_connected(gpointer data, gint source, b_input_condition
}
return FALSE;
}
-#endif
freeaddrinfo(phb->gai);
sock_make_blocking(source);
b_event_remove(phb->inpa);