diff --git a/code/DefaultIOSystem.cpp b/code/DefaultIOSystem.cpp index 1e7aaf8b9..89d40e2a5 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; -if defined( _MSC_VER ) || defined( __MINGW32__ ) +#if defined( _MSC_VER ) || defined( __MINGW32__ ) ret = ::_fullpath( _out, in, PATHLIMIT ); #else // use realpath