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
132da2c4
Commit
132da2c4
authored
Apr 09, 2012
by
Austin English
Committed by
Alexandre Julliard
Apr 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Give a better error message if signal context functions aren't defined.
parent
1718a6cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
20 deletions
+10
-20
signal_i386.c
dlls/ntdll/signal_i386.c
+10
-20
No files found.
dlls/ntdll/signal_i386.c
View file @
132da2c4
...
...
@@ -100,7 +100,7 @@ typedef struct
* signal context platform-specific definitions
*/
#if
def linux
#if
defined (__linux__)
typedef
ucontext_t
SIGCONTEXT
;
...
...
@@ -178,9 +178,7 @@ __ASM_GLOBAL_FUNC(vm86_enter,
# define __HAVE_VM86
#endif
#endif
/* linux */
#ifdef BSDI
#elif defined (__BSDI__)
#include <machine/frame.h>
typedef
struct
trapframe
SIGCONTEXT
;
...
...
@@ -206,9 +204,7 @@ typedef struct trapframe SIGCONTEXT;
#define FPU_sig(context) NULL
/* FIXME */
#define FPUX_sig(context) NULL
/* FIXME */
#endif
/* bsdi */
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
#include <machine/trap.h>
...
...
@@ -239,9 +235,7 @@ typedef struct sigcontext SIGCONTEXT;
#define FPU_sig(context) NULL
/* FIXME */
#define FPUX_sig(context) NULL
/* FIXME */
#endif
/* __FreeBSD__ */
#ifdef __OpenBSD__
#elif defined (__OpenBSD__)
typedef
struct
sigcontext
SIGCONTEXT
;
...
...
@@ -273,9 +267,7 @@ typedef struct sigcontext SIGCONTEXT;
#define T_MCHK T_MACHK
#define T_XMMFLT T_XFTRAP
#endif
/* __OpenBSD__ */
#if defined(__svr4__) || defined(_SCO_DS) || defined(__sun)
#elif defined(__svr4__) || defined(_SCO_DS) || defined(__sun)
#ifdef _SCO_DS
#include <sys/regset.h>
...
...
@@ -323,9 +315,7 @@ typedef struct ucontext SIGCONTEXT;
#define FPU_sig(context) NULL
/* FIXME */
#define FPUX_sig(context) NULL
/* FIXME */
#endif
/* svr4 || SCO_DS */
#ifdef __APPLE__
#elif defined (__APPLE__)
# include <sys/ucontext.h>
typedef
ucontext_t
SIGCONTEXT
;
...
...
@@ -375,9 +365,7 @@ typedef ucontext_t SIGCONTEXT;
#define FPUX_sig(context) ((XMM_SAVE_AREA32 *)&(context)->uc_mcontext->fs.fpu_fcw)
#endif
#endif
/* __APPLE__ */
#if defined(__NetBSD__)
#elif defined(__NetBSD__)
# include <sys/ucontext.h>
# include <sys/types.h>
# include <signal.h>
...
...
@@ -411,7 +399,9 @@ typedef ucontext_t SIGCONTEXT;
#define T_MCHK T_MCA
#define T_XMMFLT T_XMM
#endif
/* __NetBSD__ */
#else
#error You must define the signal context functions for your platform
#endif
/* linux */
WINE_DEFAULT_DEBUG_CHANNEL
(
seh
);
...
...
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