summaryrefslogtreecommitdiffstats
path: root/libc/include
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2014-09-30 18:31:04 -0700
committerHans Boehm <hboehm@google.com>2014-10-20 11:41:34 -0700
commitc712ceeec4c15da8488c5ce143fcc6b0a02d74f3 (patch)
tree77062954cdc6fc2ef43fa5f7f046ddcc557011c0 /libc/include
parent59a02860a455af68d501ee847889620343dcfb0d (diff)
downloadbionic-c712ceeec4c15da8488c5ce143fcc6b0a02d74f3.zip
bionic-c712ceeec4c15da8488c5ce143fcc6b0a02d74f3.tar.gz
bionic-c712ceeec4c15da8488c5ce143fcc6b0a02d74f3.tar.bz2
Make memory_order_acquire visible in global namespace
We were missing that using directive when including <atomic>. Bug:17736764 Change-Id: Ie8ca92a952749415567bcd5fa21d56629a364660 (cherry picked from commit 76ac4d0853c3bba0c65edc98a9cdf932c452e252)
Diffstat (limited to 'libc/include')
-rw-r--r--libc/include/stdatomic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/include/stdatomic.h b/libc/include/stdatomic.h
index 3db25a7..bcea859 100644
--- a/libc/include/stdatomic.h
+++ b/libc/include/stdatomic.h
@@ -89,6 +89,7 @@ using std::atomic_signal_fence;
using std::memory_order;
using std::memory_order_relaxed;
using std::memory_order_consume;
+using std::memory_order_acquire;
using std::memory_order_release;
using std::memory_order_acq_rel;
using std::memory_order_seq_cst;