mirror of https://github.com/deadw00d/AROS.git
Adjust header logic to match x86_64 one
ucontext.h no longer contains struct ucontext.
This commit is contained in:
parent
78fdbb8c82
commit
f9aabaf6bb
|
@ -14,8 +14,12 @@
|
|||
#include <exec/types.h>
|
||||
#include <aros/arm/cpucontext.h>
|
||||
|
||||
#ifndef __AROS_EXEC_LIBRARY__
|
||||
#ifdef __AROS_EXEC_LIBRARY__
|
||||
|
||||
struct ucontext;
|
||||
typedef struct ucontext regs_t;
|
||||
|
||||
#else
|
||||
/*
|
||||
* This part is included only in host-specific code because it relies
|
||||
* on host includes! __AROS_EXEC_LIBRARY__ definition is used to indicate
|
||||
|
@ -51,6 +55,8 @@ struct ucontext
|
|||
#include <ucontext.h>
|
||||
#endif
|
||||
|
||||
typedef ucontext_t regs_t;
|
||||
|
||||
/* name and type of the signal handler */
|
||||
#define SIGHANDLER linux_sighandler
|
||||
#define SIGHANDLER_T __sighandler_t
|
||||
|
@ -122,8 +128,6 @@ do { \
|
|||
/* We emulate 6 exceptions of ARM CPU (all but softint) */
|
||||
#define EXCEPTIONS_COUNT 6
|
||||
|
||||
typedef struct ucontext regs_t;
|
||||
|
||||
/* This structure is used to save/restore registers */
|
||||
struct AROSCPUContext
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue