* src/c++11/futex.cc: Do not define for gthr-single.h targets.
From-SVN: r220319
This commit is contained in:
parent
13fc08e44e
commit
516db2dd07
@ -1,3 +1,7 @@
|
||||
2015-02-01 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* src/c++11/futex.cc: Do not define for gthr-single.h targets.
|
||||
|
||||
2015-02-01 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/64883
|
||||
|
@ -23,6 +23,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include <bits/atomic_futex.h>
|
||||
#if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1)
|
||||
#if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1
|
||||
#include <chrono>
|
||||
#include <climits>
|
||||
@ -94,3 +95,4 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user