mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 02:37:06 +00:00
[PSEH2]
* Make _SEH_DontInline() static inline. svn path=/trunk/; revision=57180
This commit is contained in:
parent
fdcdcb6339
commit
b60aa289ab
|
@ -112,7 +112,7 @@ extern void __cdecl _SEH2Return(void);
|
|||
|
||||
/* Prevent gcc from inlining functions that use SEH. */
|
||||
#if ((__GNUC__ >= 4) && (__GNUC_MINOR__ >= 7))
|
||||
extern inline __attribute__((always_inline)) __attribute__((returns_twice)) void _SEH_DontInline() {}
|
||||
static inline __attribute__((always_inline)) __attribute__((returns_twice)) void _SEH_DontInline() {}
|
||||
#define __PREVENT_GCC_FROM_INLINING_SEH_FUNCTIONS() _SEH_DontInline();
|
||||
#else
|
||||
#define __PREVENT_GCC_FROM_INLINING_SEH_FUNCTIONS()
|
||||
|
|
Loading…
Reference in a new issue