From 2502961051b5d973c3d8d7c796cb6dc184559fe6 Mon Sep 17 00:00:00 2001 From: anders_k Date: Wed, 17 Oct 2018 01:23:13 +0000 Subject: [PATCH] 'cause a MinGW party don't stop git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7022 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Makensisw/wndspy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contrib/Makensisw/wndspy.cpp b/Contrib/Makensisw/wndspy.cpp index 349b15ed..57919abd 100644 --- a/Contrib/Makensisw/wndspy.cpp +++ b/Contrib/Makensisw/wndspy.cpp @@ -114,7 +114,7 @@ WINUSERAPI BOOL WINAPI IsHungAppWindow(HWND); // MinGW is wrong, IsHungAppWindow #endif static BOOL IsHung(HWND hWnd) { -#if !(defined(__MINGW32_MAJOR_VERSION) && !defined(__MINGW64_VERSION_MAJOR) && (__MINGW64_VERSION_MAJOR <= 15)) +#if !(defined(__MINGW32_MAJOR_VERSION) && !defined(__MINGW64_VERSION_MAJOR) && (__MINGW32_MINOR_VERSION <= 15)) if (sizeof(void*) > 4 || sizeof(TCHAR) > 1) { return IsHungAppWindow(hWnd);