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
d7f6f8ee
Commit
d7f6f8ee
authored
Jul 24, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Define arch_prctl since it is missing on Android.
parent
8b4ed00b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+8
-1
No files found.
dlls/ntdll/signal_x86_64.c
View file @
d7f6f8ee
...
@@ -38,6 +38,13 @@
...
@@ -38,6 +38,13 @@
#ifdef HAVE_SYS_PARAM_H
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
# include <sys/param.h>
#endif
#endif
#ifdef HAVE_SYSCALL_H
# include <syscall.h>
#else
# ifdef HAVE_SYS_SYSCALL_H
# include <sys/syscall.h>
# endif
#endif
#ifdef HAVE_SYS_SIGNAL_H
#ifdef HAVE_SYS_SIGNAL_H
# include <sys/signal.h>
# include <sys/signal.h>
#endif
#endif
...
@@ -131,7 +138,7 @@ struct MSVCRT_JUMP_BUFFER
...
@@ -131,7 +138,7 @@ struct MSVCRT_JUMP_BUFFER
#ifdef linux
#ifdef linux
#include <asm/prctl.h>
#include <asm/prctl.h>
extern
int
arch_prctl
(
int
func
,
void
*
ptr
);
static
inline
int
arch_prctl
(
int
func
,
void
*
ptr
)
{
return
syscall
(
__NR_arch_prctl
,
func
,
ptr
);
}
#define RAX_sig(context) ((context)->uc_mcontext.gregs[REG_RAX])
#define RAX_sig(context) ((context)->uc_mcontext.gregs[REG_RAX])
#define RBX_sig(context) ((context)->uc_mcontext.gregs[REG_RBX])
#define RBX_sig(context) ((context)->uc_mcontext.gregs[REG_RBX])
...
...
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