Fixed saving message to text file under Linux/FreeBSD.

This commit is contained in:
Alexander S. Aganichev
2000-04-05 15:44:02 +00:00
parent f14b2f3742
commit c931b13421
3 changed files with 10 additions and 12 deletions

View File

@@ -127,6 +127,11 @@ struct Stamp {
#define mkdir(path,unused) mkdir(path)
#endif
#ifdef __EMX__ // untested !!!
#define getcwd _getcwd2
#define chdir _chdir2
#endif
FILE* fsopen(const char* path, const char* type, int shflag);
inline FILE* fsopen(const string& path, const char* type, int shflag) { return fsopen(path.c_str(), type, shflag); }