Since Joey’s last update I’m having problems compiling on Linux:
[marlon@boom]:~/svn/gserver-v2/trunk/build$ make
==== Building gserver ====
TPlayerRC.cpp
/usr/include/sys/stat.h: In member function "bool TPlayer::msgPLI_RC_FILEBROWSER_UP(CString&)":
/usr/include/sys/stat.h:317: error: too few arguments to function "int mkdir(const char*, __mode_t)"
../../server/src/TPlayerRC.cpp:1478: error: at this point in file
make[1]: *** [obj/Debug/TPlayerRC.o] Error 1
make: *** [gserver] Error 2
Can someone please check if the fix also compiles on Windows with no errors? if it does you can kill the #if statement
Also, best method I found to check if folder exists or not is the stat method.
I didn’t commit that though as Joey already knew about it and didn’t put it in for some reason.
[QUOTE=urza;18432]Revision 817 works fine on windows[/QUOTE]
of course it would, I didn’t change it. What I was asking was that if you found the #if I added (using view differences in the svn update log) and made it so it used the Linux method on windows would it still work?