summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-13 16:23:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-13 16:23:24 +0000
commitee9d44305dd2eb9283bfdf0b7ee8a9ffd08f620a (patch)
treeac9c18724d890fd126ccb8126f34f8730f19897d
parent8f2296100ab52e631b0bf4e00ed6018d6596bcc0 (diff)
downloadhercules-ee9d44305dd2eb9283bfdf0b7ee8a9ffd08f620a.tar.gz
hercules-ee9d44305dd2eb9283bfdf0b7ee8a9ffd08f620a.tar.bz2
hercules-ee9d44305dd2eb9283bfdf0b7ee8a9ffd08f620a.tar.xz
hercules-ee9d44305dd2eb9283bfdf0b7ee8a9ffd08f620a.zip
- Fixed compilation for native windows builds.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8734 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/common/socket.c2
1 files changed, 1 insertions, 1 deletions
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.