We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dfd138 commit ae0eff6Copy full SHA for ae0eff6
win/tkWin32Dll.c
@@ -12,7 +12,7 @@
12
#include "tkWinInt.h"
13
#ifndef STATIC_BUILD
14
15
-#if defined(HAVE_NO_SEH) && !defined(__aarch64__)
+#if defined(HAVE_NO_SEH) && !defined(__aarch64__) && (!defined(__MINGW64_VERSION_MAJOR) || (__MINGW64_VERSION_MAJOR < 3))
16
17
/*
18
* Unlike Borland and Microsoft, we don't register exception handlers by
@@ -101,7 +101,7 @@ DllMain(
101
DWORD reason,
102
LPVOID reserved)
103
{
104
105
TCLEXCEPTION_REGISTRATION registration;
106
#endif
107
0 commit comments