projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test whether libgcc or kernel defines __sync_bool_compare_and_swap_4.
[gcc.git]
/
libgo
/
runtime
/
thread.c
diff --git
a/libgo/runtime/thread.c
b/libgo/runtime/thread.c
index 3f1c8d52e73354da51ffe90353e9ff3b7b2759f9..b600754f64c1673fd5a33225a2993267692282c0 100644
(file)
--- a/
libgo/runtime/thread.c
+++ b/
libgo/runtime/thread.c
@@
-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.