From e252d8cab06e038e5801652bedf02de9170c7945 Mon Sep 17 00:00:00 2001 From: dequis Date: Sat, 27 Sep 2014 11:54:35 -0300 Subject: RIP native win32 support (use cygwin instead) It has been broken for a very long time and nobody cared about it. --- lib/proxy.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib/proxy.c') 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 #include #include -#ifndef _WIN32 #include #include #include #include #include -#else -#include "sock.h" -#define ETIMEDOUT WSAETIMEDOUT -#define EINPROGRESS WSAEINPROGRESS -#endif #include #include #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); -- cgit v1.2.3