DefaultIOSystem: fix issue assimp/assimp/issues/660 by checking for _WIN32

as well.
pull/666/head
Kim Kulling 2015-09-24 23:51:04 +02:00
parent 3fc251b326
commit d06945f17e
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ inline void MakeAbsolutePath (const char* in, char* _out)
{
ai_assert(in && _out);
char* ret;
#ifdef _MSC_VER
#if defined _WIN32 && defined _MSC_VER
ret = ::_fullpath( _out, in, PATHLIMIT );
#else
// use realpath