* src/c++11/futex.cc: Fix order of includes and preprocessor condition.
From-SVN: r219816
This commit is contained in:
parent
87361f3098
commit
1e3919acb1
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user