Commit 3e57a8b6 authored by Mark Richardson's avatar Mark Richardson
Browse files

COMP: Fixing the the build for windows.

parent 8b8bf90b
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment