- Fixed compilation for native windows builds.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8734 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-09-13 16:23:24 +00:00
parent 84f86fa96e
commit 4f24872a12

View File

@ -99,8 +99,8 @@ void set_nonblocking(int fd, int yes) {
static void setsocketopts(int fd) static void setsocketopts(int fd)
{ {
#ifndef WIN32
int yes = 1; // reuse fix int yes = 1; // reuse fix
#ifndef WIN32
// set SO_REAUSEADDR to true, unix only. on windows this option causes // 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 // the previous owner of the socket to give up, which is not desirable
// in most cases, neither compatible with unix. // in most cases, neither compatible with unix.