commit | ed68221a8225a6696d2b0b1607ef0b2de1c1b3aa | [log] [tgz] |
---|---|---|
author | Hans Boehm <hboehm@google.com> | Wed Jul 16 11:33:48 2014 -0700 |
committer | Hans Boehm <hboehm@google.com> | Fri Jul 18 17:53:01 2014 -0700 |
tree | 66fafe44674c88f00de2e9d6c78e5d6b6de36c4c | |
parent | b0815aeacb86e20cbbd4fa27dd90ad43b9c200fe [diff] |
Define atomic_charN_t only if charN_t is supported. Some platform code is apparently compiled with switches that do not support char16_t and char32_t. This caused stdatomic.h to fail to compile. This CL makes stdatomic.h usable in those environments. (cherry picked from commit 8b002362d996859ebfc8588d6859a9a79203dc27) Change-Id: Ie5a17f20b8b545c97128d00605b4eabd2a6bfe3e