help_frame.cc has
// for chdir
#ifdef _WIN32
#include <direct.h>
#else
#include <unistd.h>
#endif
if chdir is needed, but system dependent, it should go into a lower level file, actually one of the "simsys??.cc" (or simsys.cc) files where the system abtraction code resides.
Here is a patch that #includes the relevant headers directly in simsys.h
As I cannot compile for windows (using mingw / MSVS), can somebody please test if it compiles on these systems?
Edit: updated to compile with MSVS.
Are you a Linux only person? I'm not alone, then.
no, my wife works with the windows laptop, so I am bound to a linux pc :D
anyway, this is now incorporated thanks to Tron.
Thank you!
Quote from: Dwachs on February 05, 2012, 01:36:05 PM
no, my wife works with the windows laptop, so I am bound to a linux pc :D
[...]
I understand... ;)
Too good to be true...