Add return values to setenv/getcwd

This commit is contained in:
Matthew Endsley
2015-04-15 20:12:42 -07:00
parent 66fe750137
commit 235f3685cb

View File

@@ -164,6 +164,7 @@ namespace bx
{
#if BX_PLATFORM_WINRT
BX_UNUSED(_path);
return -1;
#elif BX_COMPILER_MSVC_COMPATIBLE
return ::_chdir(_path);
#else
@@ -175,6 +176,7 @@ namespace bx
{
#if BX_PLATFORM_WINRT
BX_UNUSED(_buffer, _size);
return NULL;
#elif BX_COMPILER_MSVC_COMPATIBLE
return ::_getcwd(_buffer, (int)_size);
#else