DefaultIOSystem: fix issue assimp/assimp/issues/660 by checking for _WIN32
as well.pull/666/head
parent
3fc251b326
commit
d06945f17e
|
@ -135,7 +135,7 @@ inline void MakeAbsolutePath (const char* in, char* _out)
|
||||||
{
|
{
|
||||||
ai_assert(in && _out);
|
ai_assert(in && _out);
|
||||||
char* ret;
|
char* ret;
|
||||||
#ifdef _MSC_VER
|
#if defined _WIN32 && defined _MSC_VER
|
||||||
ret = ::_fullpath( _out, in, PATHLIMIT );
|
ret = ::_fullpath( _out, in, PATHLIMIT );
|
||||||
#else
|
#else
|
||||||
// use realpath
|
// use realpath
|
||||||
|
|
Loading…
Reference in New Issue