From 32b533c6326483c23420acac5634205cd70bf1cc Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Sun, 8 Aug 2004 18:26:47 +0000 Subject: [PATCH] Allow alternate SEH construct. Patch by Art Yerkes. svn path=/trunk/; revision=10420 --- reactos/include/pseh/framebased.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/reactos/include/pseh/framebased.h b/reactos/include/pseh/framebased.h index 94e348c18e3..f1240de4a14 100644 --- a/reactos/include/pseh/framebased.h +++ b/reactos/include/pseh/framebased.h @@ -98,12 +98,14 @@ static __declspec(noreturn) void __stdcall _SEHCompilerSpecificHandler #define _SEH_TRY_FILTER_FINALLY(FILTER_, FINALLY_) \ { \ - static const _SEHHandlers_t _SEHHandlers = \ + static _SEHHandlers_t _SEHHandlers = \ { \ - (FILTER_), \ + (NULL), \ _SEHCompilerSpecificHandler, \ - (FINALLY_) \ + (NULL) \ }; \ + _SEHHandlers.SH_Filter = FILTER_; \ + _SEHHandlers.SH_Finally = FINALLY_; \ \ _SEHFrame_t _SEHFrame; \ volatile _SEHPortableFrame_t * _SEHPortableFrame; \