workaround for building with mingw32
This commit is contained in:
@@ -153,6 +153,8 @@ void RegisterBlendExtension(void)
|
|||||||
GetSystemDirectory(SysDir, FILE_MAXDIR);
|
GetSystemDirectory(SysDir, FILE_MAXDIR);
|
||||||
#ifdef WIN64
|
#ifdef WIN64
|
||||||
ThumbHandlerDLL = "BlendThumb64.dll";
|
ThumbHandlerDLL = "BlendThumb64.dll";
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
ThumbHandlerDLL = "BlendThumb.dll";
|
||||||
#else
|
#else
|
||||||
IsWow64Process(GetCurrentProcess(), &IsWOW64);
|
IsWow64Process(GetCurrentProcess(), &IsWOW64);
|
||||||
if (IsWOW64 == TRUE)
|
if (IsWOW64 == TRUE)
|
||||||
|
|||||||
Reference in New Issue
Block a user