From ef6baa0acfad057d49b10dc98d9dcaff626c69a7 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 22 Sep 2015 00:23:33 +0200 Subject: [PATCH] DefaultIOSystem: use correct define to detect Visual Studi compiler. --- code/DefaultIOSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/DefaultIOSystem.cpp b/code/DefaultIOSystem.cpp index b3f8dc093..d4f120c3b 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 _WIN32 && !defined __GNUC__ +#ifdef _MSC_VER ret = ::_fullpath( _out, in, PATHLIMIT ); #else // use realpath