Commit 0413e2a5 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

setjmp.h: Use __intrinsic_setjmpex when using ucrt.

parent 5d1fc258
...@@ -147,6 +147,9 @@ int __cdecl _setjmp(jmp_buf); ...@@ -147,6 +147,9 @@ int __cdecl _setjmp(jmp_buf);
void __cdecl longjmp(jmp_buf,int); void __cdecl longjmp(jmp_buf,int);
#if defined(_WIN64) && defined(__GNUC__) #if defined(_WIN64) && defined(__GNUC__)
# ifdef _UCRT
# define _setjmpex __intrinsic_setjmpex
# endif
int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmpex(jmp_buf,void*); int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmpex(jmp_buf,void*);
# define setjmp(buf) _setjmpex(buf,__builtin_frame_address(0)) # define setjmp(buf) _setjmpex(buf,__builtin_frame_address(0))
# define setjmpex(buf) _setjmpex(buf,__builtin_frame_address(0)) # define setjmpex(buf) _setjmpex(buf,__builtin_frame_address(0))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment