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
40b3d2ed
Commit
40b3d2ed
authored
May 23, 2010
by
Austin English
Committed by
Alexandre Julliard
May 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add %gs support for FreeBSD.
parent
31d1417c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletion
+13
-1
configure
configure
+1
-0
configure.ac
configure.ac
+1
-0
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+8
-1
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
40b3d2ed
...
...
@@ -5837,6 +5837,7 @@ for ac_header in \
machine/cpu.h
\
machine/limits.h
\
machine/soundcard.h
\
machine/sysarch.h
\
mntent.h
\
mpg123.h
\
ncurses.h
\
...
...
configure.ac
View file @
40b3d2ed
...
...
@@ -422,6 +422,7 @@ AC_CHECK_HEADERS(\
machine/cpu.h \
machine/limits.h \
machine/soundcard.h \
machine/sysarch.h \
mntent.h \
mpg123.h \
ncurses.h \
...
...
dlls/ntdll/signal_x86_64.c
View file @
40b3d2ed
...
...
@@ -28,10 +28,15 @@
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_MACHINE_SYSARCH_H
# include <machine/sysarch.h>
#endif
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
...
...
@@ -2288,8 +2293,10 @@ void signal_init_thread( TEB *teb )
{
stack_t
ss
;
#if
def
__linux__
#if
defined
__linux__
arch_prctl
(
ARCH_SET_GS
,
teb
);
#elif defined __FreeBSD__
amd64_set_gsbase
(
teb
);
#else
# error Please define setting %gs for your architecture
#endif
...
...
include/config.h.in
View file @
40b3d2ed
...
...
@@ -461,6 +461,9 @@
/* Define to 1 if you have the <machine/soundcard.h> header file. */
#undef HAVE_MACHINE_SOUNDCARD_H
/* Define to 1 if you have the <machine/sysarch.h> header file. */
#undef HAVE_MACHINE_SYSARCH_H
/* Define to 1 if you have the <mach/machine.h> header file. */
#undef HAVE_MACH_MACHINE_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