Skip to content
Snippets Groups Projects
Commit 668a4f3f authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard
Browse files

include: Always declare _setjmp in setjmp.h on i386 targets.

Clang supports _setjmp but, like most MSVC-style builtins, it still requires function declaration.
parent 37fd4d89
No related branches found
No related tags found
No related merge requests found
......@@ -160,9 +160,7 @@ _ACRTIMP void __cdecl longjmp(jmp_buf,int);
#endif
#ifdef __i386__
# if defined(_setjmp) || !__has_builtin(_setjmp)
_ACRTIMP int __cdecl __attribute__((__nothrow__,__returns_twice__)) _setjmp(jmp_buf);
# endif
# define setjmp(buf) _setjmp((buf))
#elif !defined(_setjmpex) && __has_builtin(_setjmpex)
_ACRTIMP int __cdecl __attribute__((__nothrow__,__returns_twice__)) _setjmpex(jmp_buf);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment