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
PR libstdc++/50196
[pf3gnuchains/gcc-fork.git]
/
libstdc++-v3
/
include
/
std
/
mutex
diff --git
a/libstdc++-v3/include/std/mutex
b/libstdc++-v3/include/std/mutex
index
1840117
..
a1a63b2
100644
(file)
--- a/
libstdc++-v3/include/std/mutex
+++ b/
libstdc++-v3/include/std/mutex
@@
-206,6
+206,7
@@
_GLIBCXX_BEGIN_NAMESPACE_VERSION
{ return &_M_mutex; }
};
+#if _GTHREAD_USE_MUTEX_TIMEDLOCK
/// timed_mutex
class timed_mutex
{
@@
-417,6
+418,7
@@
_GLIBCXX_BEGIN_NAMESPACE_VERSION
return try_lock_until(__atime);
}
};
+#endif
/// Do not acquire ownership of the mutex.
struct defer_lock_t { };