commit | 4b8f3fcd3196ba291f82321cd5d1bd688b52d2ba | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Thu Aug 14 13:45:38 2014 -0700 |
committer | Dan Albert <danalbert@google.com> | Fri Aug 15 09:22:16 2014 -0700 |
tree | 1bb8e6d96ff2dd094ac3341a90d4d0db7ce30014 | |
parent | 3253c95c3b515bf56589eaae19214d3a8e64f489 [diff] |
Pass a preprocessor define to identify us. Needed so that <stdatomic.h> can identify when a <atomic> header is available. We need to do this because including <atomic> after <stdatomic.h> causes compilation to fail, and the cleanest way out of that situation is to make <stdatomic.h> include <atomic> when it is using in a C++ context. Bug: 17007799 Change-Id: Ic5798cb579840c4a49c3eb2c9e468d5f61fb6dd3 (cherry picked from commit 246124b60c15f201071275dc05f3cf498fa97dd4)