mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Fixed MinGW test.
This commit is contained in:
@@ -865,14 +865,18 @@ namespace bx
|
||||
return false;
|
||||
}
|
||||
|
||||
#if BX_CRT_MSVC
|
||||
#if BX_CRT_MSVC || BX_CRT_MINGW
|
||||
int32_t result = -1;
|
||||
FileInfo fi;
|
||||
if (stat(fi, _filePath) )
|
||||
{
|
||||
if (FileType::Dir == fi.type)
|
||||
{
|
||||
# if BX_CRT_MINGW
|
||||
result = ::rmdir(_filePath.getCPtr() );
|
||||
# else
|
||||
result = ::_rmdir(_filePath.getCPtr() );
|
||||
# endif // BX_CRT_MINGW
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user