Summary: support gcc atomic ops on clang too

Clang actually does support __atomic_XXX atomic ops builtins but does
not advertise itselt as gcc 4.7 or later. So we now detect clang
separetely.

We're enabling gcc atomic ops on clang >= 3.4 since this is the oldest
version that I can test.

This should fix issue #797.
1 file changed