News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

[bug] can't compile network_cmd_ingame.cc - r4393

Started by VS, April 15, 2011, 02:35:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

VS

As the title says. Chdir is not omnipresent, so a header is needed... at least for my MSVC:

#ifdef _MSC_VER
#include <direct.h>
#endif


...perhaps the file could use a boilerplate, too :)

Ters

I get an error regarding chdir in network_cmd_ingame.cc with mingw, so this has more to do with platform than with compiler.

Dwachs


Ters


VS