workaround for building with mingw32

This commit is contained in:
2014-02-14 15:15:20 +11:00
parent b09684567e
commit dd1e02432e

View File

@@ -153,6 +153,8 @@ void RegisterBlendExtension(void)
GetSystemDirectory(SysDir, FILE_MAXDIR);
#ifdef WIN64
ThumbHandlerDLL = "BlendThumb64.dll";
#elif defined(__MINGW32__)
ThumbHandlerDLL = "BlendThumb.dll";
#else
IsWow64Process(GetCurrentProcess(), &IsWOW64);
if (IsWOW64 == TRUE)