gatomic: disable GCC extension atomics for clang
authorRyan Lortie <desrt@desrt.ca>
Fri, 20 Jun 2014 18:38:45 +0000 (14:38 -0400)
committerRyan Lortie <desrt@desrt.ca>
Fri, 20 Jun 2014 20:00:48 +0000 (16:00 -0400)
commitbef557e55d8ab89b324ff2099b2621254aeb3929
tree17c5be17bb6d4b4830dc727e490a248183656c69
parent7991178a752a22274950e54dc4f05b55ae54d756
gatomic: disable GCC extension atomics for clang

clang defines the macro that we use to test for GCC's extension support
for C11 atomics, but doesn't define the extension in the same way.
Check for clang and disable the macros again if we find it.

https://bugzilla.gnome.org/show_bug.cgi?id=731513
glib/gatomic.h