Disable zero'ing for 4.6 with SEH support.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3946 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-crt/misc/mingw_getsp.S b/mingw-w64-crt/misc/mingw_getsp.S
index c066aeb..69216d8 100644
--- a/mingw-w64-crt/misc/mingw_getsp.S
+++ b/mingw-w64-crt/misc/mingw_getsp.S
@@ -26,8 +26,10 @@
.def __MINGW_USYMBOL(longjmp); .scl 2; .type 32; .endef
__MINGW_USYMBOL(longjmp):
#ifdef _WIN64
+#ifndef __SEH__
xorl %eax,%eax
movl %eax, (%rcx)
+#endif
leaq __MINGW_USYMBOL(fctMsvcrtLongJmp)(%rip), %rax
jmpq *(%rax)
#else