Browse Source

DefaultIOSystem: use correct define to detect Visual Studi compiler.

Kim Kulling 10 years ago
parent
commit
ef6baa0acf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/DefaultIOSystem.cpp

+ 1 - 1
code/DefaultIOSystem.cpp

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