News:

Want to praise Simutrans?
Your feedback is important for us ;D.

[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 :)

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

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

Parsley, sage, rosemary, and maggikraut.

Ters


VS


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!