Commit 516db2dd by Jonathan Wakely Committed by Jonathan Wakely

* src/c++11/futex.cc: Do not define for gthr-single.h targets.

From-SVN: r220319
parent 13fc08e4
2015-02-01 Jonathan Wakely <jwakely@redhat.com> 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 PR libstdc++/64883
* include/c_global/cstdio (gets): Use __deprecated__ attribute instead * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
of deprecated. of deprecated.
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
#include <bits/atomic_futex.h> #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 #if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1
#include <chrono> #include <chrono>
#include <climits> #include <climits>
...@@ -94,3 +95,4 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -94,3 +95,4 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
} }
#endif #endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment