From 0b3068b8224b629e41e4572f78a3e087bed4e196 Mon Sep 17 00:00:00 2001 From: Nishi Date: Thu, 19 Sep 2024 12:49:10 +0000 Subject: [PATCH] trying to add haiku support git-svn-id: file:///raid/svn-personal/tewi/trunk@83 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Server/server.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Server/server.c b/Server/server.c index eee36e1..d0b4963 100644 --- a/Server/server.c +++ b/Server/server.c @@ -131,13 +131,7 @@ int tw_server_init(void) { memset(&addresses[i], 0, sizeof(addresses[i])); #ifdef NO_IPV6 addresses[i].sin_family = AF_INET; -#ifdef __HAIKU__ - if((addresses[i].sin_addr.s_addr = gethostaddr()) == -1){ - addresses[i].sin_addr.s_addr = INADDR_ANY; - } -#else addresses[i].sin_addr.s_addr = INADDR_ANY; -#endif addresses[i].sin_port = htons(config.ports[i]); #else addresses[i].sin6_family = AF_INET6; -- 2.43.0