fix mingw

This commit is contained in:
Hooray
2013-02-18 08:58:52 +00:00
committed by James Turner
parent 1784327c47
commit 63c7d64143
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -490,7 +490,7 @@ std::string SGPath::realpath() const
// This means relative paths cannot be used on Mac OS <= 10.5
return path;
#else
#if defined(_MSC_VER)
#if defined(_MSC_VER) /*for MS compilers */ || defined(_WIN32) /*needed for non MS windows compilers like MingW*/
// with absPath NULL, will allocate, and ignore length
char *buf = _fullpath( NULL, path.c_str(), _MAX_PATH );
#else