Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-02-14 08:15:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-14 08:15:20 +0400
commitdd1e02432ebdb2e4131e3f82f0c99e5db9aaa247 (patch)
tree4076c4deb4869db4a10ab18cf950b951b4c469d2 /source/blender/blenlib/intern/winstuff.c
parentb09684567e6029211cbbe06e93209989bb5fc804 (diff)
workaround for building with mingw32
Diffstat (limited to 'source/blender/blenlib/intern/winstuff.c')
-rw-r--r--source/blender/blenlib/intern/winstuff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/winstuff.c b/source/blender/blenlib/intern/winstuff.c
index 3027d4f4921..7db33ff79be 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)