Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fd865a83
Commit
fd865a83
authored
Mar 12, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Define setjmpex prototype even when it's a builtin.
parent
66f940a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
setjmp.h
include/msvcrt/setjmp.h
+4
-3
No files found.
include/msvcrt/setjmp.h
View file @
fd865a83
...
@@ -164,10 +164,11 @@ _ACRTIMP void __cdecl longjmp(jmp_buf,int);
...
@@ -164,10 +164,11 @@ _ACRTIMP void __cdecl longjmp(jmp_buf,int);
_ACRTIMP
int
__cdecl
__attribute__
((
__nothrow__
,
__returns_twice__
))
_setjmp
(
jmp_buf
);
_ACRTIMP
int
__cdecl
__attribute__
((
__nothrow__
,
__returns_twice__
))
_setjmp
(
jmp_buf
);
# endif
# endif
# define setjmp(buf) _setjmp((buf))
# define setjmp(buf) _setjmp((buf))
#else
/* __i386__ */
#elif !defined(_setjmpex) && __has_builtin(_setjmpex)
# if 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
*
);
_ACRTIMP
int
__cdecl
__attribute__
((
__nothrow__
,
__returns_twice__
))
_setjmpex
(
jmp_buf
,
void
*
);
# endif
# if __has_builtin(__builtin_sponentry)
# if __has_builtin(__builtin_sponentry)
# define setjmp(buf) _setjmpex((buf), __builtin_sponentry())
# define setjmp(buf) _setjmpex((buf), __builtin_sponentry())
# elif __has_builtin(__builtin_frame_address)
# elif __has_builtin(__builtin_frame_address)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment