Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c0a54996
Commit
c0a54996
authored
May 30, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/msvcrt: Use setjmpex() instead of setjmp() on 64-bit.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a16ef96d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
setjmp.h
include/msvcrt/setjmp.h
+8
-2
No files found.
include/msvcrt/setjmp.h
View file @
c0a54996
...
...
@@ -146,12 +146,18 @@ extern "C" {
int
__cdecl
_setjmp
(
jmp_buf
);
void
__cdecl
longjmp
(
jmp_buf
,
int
);
#if defined(_WIN64) && defined(__GNUC__)
int
__cdecl
__attribute__
((
__nothrow__
,
__returns_twice__
))
_setjmpex
(
jmp_buf
,
void
*
);
# define setjmp(buf) _setjmpex(buf,__builtin_frame_address(0))
# define setjmpex(buf) _setjmpex(buf,__builtin_frame_address(0))
#else
# define setjmp _setjmp
#endif
#ifdef __cplusplus
}
#endif
#define setjmp _setjmp
#include <poppack.h>
#endif
/* __WINE_SETJMP_H */
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