COMP: Fixing the the build for windows.

This commit is contained in:
Mark Richardson 2006-04-27 16:02:52 -04:00
parent 4e586c822f
commit 2b5d8e84c9
1 changed files with 3 additions and 1 deletions

View File

@ -118,12 +118,14 @@ inline int Rmdir(const char* dir)
}
inline const char* Getcwd(char* buf, unsigned int len)
{
const char* ret _getcwd(buf, len);
const char* ret = _getcwd(buf, len);
if(!ret)
{
fprintf(stderr, "No current working directory.\n");
abort();
}
return ret;
}
inline int Chdir(const char* dir)
{