[Bf-blender-cvs] [dd1e024] master: workaround for building with mingw32

Campbell Barton noreply at git.blender.org
Fri Feb 14 05:17:17 CET 2014


Commit: dd1e02432ebdb2e4131e3f82f0c99e5db9aaa247
Author: Campbell Barton
Date:   Fri Feb 14 15:15:20 2014 +1100
https://developer.blender.org/rBdd1e02432ebdb2e4131e3f82f0c99e5db9aaa247

workaround for building with mingw32

===================================================================

M	source/blender/blenlib/intern/winstuff.c

===================================================================

diff --git a/source/blender/blenlib/intern/winstuff.c b/source/blender/blenlib/intern/winstuff.c
index 3027d4f..7db33ff 100644
--- a/source/blender/blenlib/intern/winstuff.c
+++ b/source/blender/blenlib/intern/winstuff.c
@@ -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)




More information about the Bf-blender-cvs mailing list