This commit is contained in:
Branimir Karadžić
2017-11-17 08:50:10 -08:00
parent 0c1354aacc
commit 451e30b55b
3 changed files with 20 additions and 23 deletions

View File

@@ -56,12 +56,6 @@
# endif // BX_PLATFORM_ANDROID
#endif // BX_PLATFORM_
#if BX_CRT_MSVC
# include <direct.h> // _getcwd
#else
# include <unistd.h> // getcwd
#endif // BX_CRT_MSVC
namespace bx
{
@@ -287,20 +281,6 @@ namespace bx
#endif // BX_COMPILER_
}
char* pwd(char* _buffer, uint32_t _size)
{
#if BX_PLATFORM_PS4 \
|| BX_PLATFORM_XBOXONE \
|| BX_PLATFORM_WINRT
BX_UNUSED(_buffer, _size);
return NULL;
#elif BX_CRT_MSVC
return ::_getcwd(_buffer, (int)_size);
#else
return ::getcwd(_buffer, _size);
#endif // BX_COMPILER_
}
void* exec(const char* const* _argv)
{
#if BX_PLATFORM_LINUX \