From ee9d44305dd2eb9283bfdf0b7ee8a9ffd08f620a Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 13 Sep 2006 16:23:24 +0000 Subject: - Fixed compilation for native windows builds. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8734 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/socket.c b/src/common/socket.c index d13a3b4cb..d66dda38a 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -99,8 +99,8 @@ void set_nonblocking(int fd, int yes) { static void setsocketopts(int fd) { -#ifndef WIN32 int yes = 1; // reuse fix +#ifndef WIN32 // set SO_REAUSEADDR to true, unix only. on windows this option causes // the previous owner of the socket to give up, which is not desirable // in most cases, neither compatible with unix. -- cgit v1.2.3-70-g09d2