From d8c2d5137ba9263cb7ff600f63dbb881341b5842 Mon Sep 17 00:00:00 2001 From: codemaster Date: Thu, 31 Mar 2005 20:04:54 +0000 Subject: common/lock.c: Fixed an error dealing with unistd.h not being Windows' standard. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1361 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/lock.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/common/lock.c') diff --git a/src/common/lock.c b/src/common/lock.c index 288093c68..0258cbd2c 100644 --- a/src/common/lock.c +++ b/src/common/lock.c @@ -2,7 +2,13 @@ #include #include #include +#ifndef WIN32 #include +#else +#include +#define F_OK 0x0 +#define R_OK 0x4 +#endif #include "lock.h" #include "showmsg.h" #define exists(filename) (!access(filename, F_OK)) -- cgit v1.2.3-70-g09d2