Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
35a1e17e
Commit
35a1e17e
authored
Jun 29, 2004
by
Nick Clifton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(pthread_join): Only apply the weak pragma if the function actually exists.
From-SVN: r83847
parent
1eaba2f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
libmudflap/mf-runtime.c
+4
-0
No files found.
libmudflap/mf-runtime.c
View file @
35a1e17e
...
@@ -136,7 +136,11 @@ pthread_mutex_t __mf_biglock =
...
@@ -136,7 +136,11 @@ pthread_mutex_t __mf_biglock =
the libmudflap.la (no threading support) can diagnose whether
the libmudflap.la (no threading support) can diagnose whether
the application is linked with -lpthread. See __mf_usage() below. */
the application is linked with -lpthread. See __mf_usage() below. */
#if HAVE_PTHREAD_H
#if HAVE_PTHREAD_H
#ifdef _POSIX_THREADS
#pragma weak pthread_join
#pragma weak pthread_join
#else
#define pthread_join NULL
#endif
const
void
*
threads_active_p
=
(
void
*
)
pthread_join
;
const
void
*
threads_active_p
=
(
void
*
)
pthread_join
;
#endif
#endif
...
...
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