Commit fd865a83 authored by Alexandre Julliard's avatar Alexandre Julliard

include: Define setjmpex prototype even when it's a builtin.

parent 66f940a2
......@@ -164,10 +164,11 @@ _ACRTIMP void __cdecl longjmp(jmp_buf,int);
_ACRTIMP int __cdecl __attribute__((__nothrow__,__returns_twice__)) _setjmp(jmp_buf);
# endif
# define setjmp(buf) _setjmp((buf))
#else /* __i386__ */
# if defined(_setjmpex) || !__has_builtin(_setjmpex)
#elif !defined(_setjmpex) && __has_builtin(_setjmpex)
_ACRTIMP int __cdecl __attribute__((__nothrow__,__returns_twice__)) _setjmpex(jmp_buf);
# define setjmp(buf) _setjmpex(buf)
#else
_ACRTIMP int __cdecl __attribute__((__nothrow__,__returns_twice__)) _setjmpex(jmp_buf,void*);
# endif
# if __has_builtin(__builtin_sponentry)
# define setjmp(buf) _setjmpex((buf), __builtin_sponentry())
# elif __has_builtin(__builtin_frame_address)
......
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