summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-12-09 15:20:59 -0300
committerdequis <dx@dxzone.com.ar>2015-12-09 15:20:59 -0300
commit96766b7f0530ca2e5b4d0fde68337f956e46eb0e (patch)
tree7ae6496d5d5b0b45d360036def59ba53d40922c1 /src/fe-text
parent544d5a8bba7e00f8b4a8433faea907abce27f557 (diff)
downloadirssi-96766b7f0530ca2e5b4d0fde68337f956e46eb0e.zip
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.
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/irssi.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c
index b1fa5e22..cad271c9 100644
--- a/src/fe-text/irssi.c
+++ b/src/fe-text/irssi.c
@@ -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