Remove all WIN32 ifdefs (unifdef -UWIN32)

Just use cygwin.

This looks like it wasn't enough to do anything useful, and I don't
think anyone cares about supporting win32 the hard way.
This commit is contained in:
dequis 2015-12-09 15:20:59 -03:00
commit 96766b7f05
10 changed files with 0 additions and 68 deletions

View file

@ -271,20 +271,6 @@ static void check_files(void)
}
}
#ifdef WIN32
static void winsock_init(void)
{
WORD wVersionRequested;
WSADATA wsaData;
wVersionRequested = MAKEWORD(2, 2);
if (WSAStartup(wVersionRequested, &wsaData) != 0) {
printf("Error initializing winsock\n");
exit(1);
}
}
#endif
int main(int argc, char **argv)
{
@ -315,9 +301,6 @@ int main(int argc, char **argv)
check_files();
#ifdef WIN32
winsock_init();
#endif
#ifdef HAVE_SOCKS
SOCKSinit(argv[0]);
#endif