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
59b2ad62
Commit
59b2ad62
authored
Sep 18, 2003
by
Gabriele Giorgetti
Committed by
Alexandre Julliard
Sep 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build with old libc.
parent
bf49a007
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
pthread.c
scheduler/pthread.c
+5
-6
No files found.
scheduler/pthread.c
View file @
59b2ad62
...
@@ -123,6 +123,11 @@ int *__h_errno_location(void)
...
@@ -123,6 +123,11 @@ int *__h_errno_location(void)
return
&
descr
->
thread_h_errno
;
return
&
descr
->
thread_h_errno
;
}
}
struct
__res_state
*
__res_state
(
void
)
{
pthread_descr
descr
=
__pthread_thread_self
();
return
&
descr
->
res_state
;
}
static
inline
void
writejump
(
const
char
*
symbol
,
void
*
dest
)
static
inline
void
writejump
(
const
char
*
symbol
,
void
*
dest
)
{
{
...
@@ -260,12 +265,6 @@ static struct pthread_functions libc_pthread_functions;
...
@@ -260,12 +265,6 @@ static struct pthread_functions libc_pthread_functions;
strong_alias
(
__pthread_thread_self
,
pthread_thread_self
);
strong_alias
(
__pthread_thread_self
,
pthread_thread_self
);
struct
__res_state
*
__res_state
(
void
)
{
pthread_descr
descr
=
__pthread_thread_self
();
return
&
descr
->
res_state
;
}
/* redefine this to prevent libpthread from overriding our function pointers */
/* redefine this to prevent libpthread from overriding our function pointers */
int
*
__libc_pthread_init
(
const
struct
pthread_functions
*
funcs
)
int
*
__libc_pthread_init
(
const
struct
pthread_functions
*
funcs
)
{
{
...
...
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