// int access(const char *pathname, int mode);
#ifdef _Windows
#ifndef _MSC_VER
#include
#endif
#include //borland compiler: include before causes the SimWorld class in "simul.h" be unrecognized, for unknown reason :O moreover, this problem is only pertinent to the CLI project, not GUI. Maybe this is caused by global defines like NOVCL, NO_STRICT etc.?
#define makeDirectory(name) mkdir(name)
#else
#include
#include
#define makeDirectory(name) mkdir(name,0777)
#endif