OSDN Git Service

Only use <atomic> for C++11 and newer.
authorDan Albert <danalbert@google.com>
Thu, 16 Oct 2014 14:52:51 +0000 (07:52 -0700)
committerHans Boehm <hboehm@google.com>
Thu, 30 Oct 2014 20:22:34 +0000 (13:22 -0700)
commit653263a96459c5c1811623bd84201c324a870280
tree6f5bcdb04b85c90b94628befafa4f5c9aef2b8fa
parentb0693ec58247c36a7427267783cb756cc055aed8
Only use <atomic> for C++11 and newer.

Any pre-C++11 clients of stdatomic.h that use libc++ are being forced
over to <atomic>, which they don't have the language support to use.

Bug:17736764

Change-Id: I62445c1f2541410a1569498c09433c7196635537
(cherry picked from commit 3ce0769aa5f9a991af1d167f730d987dd002253c)
libc/include/stdatomic.h