Skip to content
Snippets Groups Projects
Commit 3e57a8b6 authored by Mark Richardson's avatar Mark Richardson
Browse files

COMP: Fixing the the build for windows.

parent 8b8bf90b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment