Allow alternate SEH construct. Patch by Art Yerkes.

svn path=/trunk/; revision=10420
This commit is contained in:
Alex Ionescu 2004-08-08 18:26:47 +00:00
parent a2b32fbcd6
commit 32b533c632

View file

@ -98,12 +98,14 @@ static __declspec(noreturn) void __stdcall _SEHCompilerSpecificHandler
#define _SEH_TRY_FILTER_FINALLY(FILTER_, FINALLY_) \ #define _SEH_TRY_FILTER_FINALLY(FILTER_, FINALLY_) \
{ \ { \
static const _SEHHandlers_t _SEHHandlers = \ static _SEHHandlers_t _SEHHandlers = \
{ \ { \
(FILTER_), \ (NULL), \
_SEHCompilerSpecificHandler, \ _SEHCompilerSpecificHandler, \
(FINALLY_) \ (NULL) \
}; \ }; \
_SEHHandlers.SH_Filter = FILTER_; \
_SEHHandlers.SH_Finally = FINALLY_; \
\ \
_SEHFrame_t _SEHFrame; \ _SEHFrame_t _SEHFrame; \
volatile _SEHPortableFrame_t * _SEHPortableFrame; \ volatile _SEHPortableFrame_t * _SEHPortableFrame; \