Remove support for stdatomic.h.
authorPeter Boström <pbos@google.com>
Wed, 6 Sep 2017 15:48:42 +0000 (11:48 -0400)
committerPeter Boström <pbos@google.com>
Wed, 6 Sep 2017 15:59:50 +0000 (11:59 -0400)
commit6822fb2f09f580c3d7ddb7955d8177460cb63702
tree5e2690881475120f71ac4266ed4eceab369537bc
parentd49a1a5329ea43968faaf295f7da5f72b28f971e
Remove support for stdatomic.h.

This header doesn't build on g++ v6 as it's a C and not C++ header
(_Atomic is not a keyword in C++11). Since the C and C++ invocations
cannot be guaranteed to point to the same underlying atomic_int
implementation, remove support for them and use compiler intrinsics
instead.

BUG=webm:1461

Change-Id: Ie1cd6759c258042efc87f51f036b9aa53e4ea9d5
vpx_util/vpx_atomics.h