unicode: Move gscripttable.h generation into main script
[platform/upstream/glib.git] / glib / gatomic.h
index 1c0096a..9d04b1d 100644 (file)
@@ -85,7 +85,7 @@ G_END_DECLS
 #if defined(G_ATOMIC_LOCK_FREE) && defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4)
 
 /* We prefer the new C11-style atomic extension of GCC if available */
-#if defined(__ATOMIC_SEQ_CST)
+#if defined(__ATOMIC_SEQ_CST) && !defined(__clang__)
 
 #define g_atomic_int_get(atomic) \
   (G_GNUC_EXTENSION ({                                                       \