Test whether libgcc or kernel defines __sync_bool_compare_and_swap_4.
[gcc.git] / libgo / runtime / thread.c
index 3f1c8d52e73354da51ffe90353e9ff3b7b2759f9..b600754f64c1673fd5a33225a2993267692282c0 100644 (file)
@@ -77,7 +77,7 @@ runtime_destroylock(Lock *l)
        sem_destroy(&l->sem);
 }
 
-#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
+#ifndef HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4
 
 // For targets which don't have the required sync support.  Really
 // this should be provided by gcc itself.  FIXME.