OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Daily bump.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
gthr-posix.c
diff --git
a/gcc/gthr-posix.c
b/gcc/gthr-posix.c
index
bfcd316
..
154fc33
100644
(file)
--- a/
gcc/gthr-posix.c
+++ b/
gcc/gthr-posix.c
@@
-112,12
+112,14
@@
pthread_mutex_trylock (pthread_mutex_t *mutex ATTRIBUTE_UNUSED)
}
#ifdef _POSIX_TIMEOUTS
+#if _POSIX_TIMEOUTS >= 0
int
pthread_mutex_timedlock (pthread_mutex_t *mutex ATTRIBUTE_UNUSED,
const struct timespec *abs_timeout ATTRIBUTE_UNUSED)
{
return 0;
}
+#endif
#endif /* _POSIX_TIMEOUTS */
int