Commit 1e3919ac by Jonathan Wakely Committed by Jonathan Wakely

* src/c++11/futex.cc: Fix order of includes and preprocessor condition.

From-SVN: r219816
parent 87361f30
......@@ -4,6 +4,8 @@
atomic int is not lock-free. Make member variables private.
* src/c++11/futex.cc: Likewise.
* src/c++11/futex.cc: Fix order of includes and preprocessor condition.
2015-01-17 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/64638
......
......@@ -22,9 +22,8 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
#include <bits/c++config.h>
#if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1
#include <bits/atomic_futex.h>
#if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1
#include <chrono>
#include <climits>
#include <syscall.h>
......
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