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
cbaa545f
Commit
cbaa545f
authored
Oct 19, 2004
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 19, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Protect use of pthread functions with #ifdef HAVE_PTHREAD_H.
parent
d5b0e0f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
kthread.c
loader/kthread.c
+2
-2
No files found.
loader/kthread.c
View file @
cbaa545f
...
...
@@ -392,7 +392,7 @@ void wine_pthread_abort_thread( int status )
* If they are not available, the libc defaults to
* non-threadsafe operation (not good). */
#if defined(
__GLIBC__) || defined(__FreeBSD__
)
#if defined(
HAVE_PTHREAD_H) && (defined(__GLIBC__) || defined(__FreeBSD__)
)
/* adapt as necessary (a construct like this is used in glibc sources) */
#define strong_alias(orig, alias) \
...
...
@@ -1010,4 +1010,4 @@ static struct pthread_functions libc_pthread_functions =
_pthread_cleanup_pop
/* ptr__pthread_cleanup_pop */
};
#endif
/*
__GLIBC__ || __FREEBSD__
*/
#endif
/*
HAVE_PTHREAD_H && (__GLIBC__ || __FREEBSD__)
*/
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