Right at the beginning of file LuaIO.cpp there is
#include <unistd.h>
However, this is a unix-only header file, therefore it will not compile with microsoft c++ compiler (vs.net2003/05). Can we replace that?
After commenting it out, I could compile it anyway (but got some compile errors later on in other files, so I dont know if spring will run without it..)
Windows compytibility
Moderator: Moderators
Re: Windows compytibility
#ifdef it out for VC++.
Re: Windows compytibility
what does unistd.h do?
Re: Windows compytibility
it has POSIX #defines, functions and generally stuff. things like fork, exec, chdir, etc. gcc on windows provides this file BTW.
Re: Windows compytibility
Yep I know it's only a microsoft c++ compiler issue, thats why is used #ifndef _MSC_VER instead of WIN_32imbaczek wrote:gcc on windows provides this file BTW.