Merge pull request #108 from ddiproietto/patch-1

Fixed compilation under MINGW64
This commit is contained in:
Lee Thomason 2013-05-11 20:08:23 -07:00
commit 576003627c
1 changed files with 6 additions and 1 deletions

View File

@ -280,7 +280,12 @@ int main( int argc, const char ** argv )
#endif
#if defined(_MSC_VER) || defined(MINGW32) || defined(__MINGW32__)
#if defined __MINGW64_VERSION_MAJOR && defined __MINGW64_VERSION_MINOR
//MINGW64: both 32 and 64-bit
mkdir( "resources/out/" );
#else
_mkdir( "resources/out/" );
#endif
#else
mkdir( "resources/out/", S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
#endif