diff --git a/code/DefaultIOSystem.cpp b/code/DefaultIOSystem.cpp index d4f120c3b..1251b6c2c 100644 --- a/code/DefaultIOSystem.cpp +++ b/code/DefaultIOSystem.cpp @@ -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