mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
Allow alternate SEH construct. Patch by Art Yerkes.
svn path=/trunk/; revision=10420
This commit is contained in:
parent
a2b32fbcd6
commit
32b533c632
1 changed files with 5 additions and 3 deletions
|
@ -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; \
|
||||||
|
|
Loading…
Reference in a new issue