From: Jonathan Wakely Date: Sun, 1 Feb 2015 15:11:23 +0000 (+0000) Subject: * src/c++11/futex.cc: Do not define for gthr-single.h targets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=516db2dd078c8f9fac7a3dd3ec9ef383570b1dfb;p=gcc.git * src/c++11/futex.cc: Do not define for gthr-single.h targets. From-SVN: r220319 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 67cfb60ddb3..dbcf81dc554 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2015-02-01 Jonathan Wakely + + * src/c++11/futex.cc: Do not define for gthr-single.h targets. + 2015-02-01 Jonathan Wakely PR libstdc++/64883 diff --git a/libstdc++-v3/src/c++11/futex.cc b/libstdc++-v3/src/c++11/futex.cc index 1336779dfb7..a7f02009f11 100644 --- a/libstdc++-v3/src/c++11/futex.cc +++ b/libstdc++-v3/src/c++11/futex.cc @@ -23,6 +23,7 @@ // . #include +#if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1) #if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1 #include #include @@ -94,3 +95,4 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION } #endif +#endif