diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-02-01 21:23:07 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-02-01 21:23:07 +0000 |
commit | a7c48c8ec55d482e95dddd840a9bdd0fbfad9e33 (patch) | |
tree | 8a6b7bdf2b2fc6e41472c4ee699757979c05301d /libgo/runtime/thread.c | |
parent | 56490b740618d572e9a4cd205b058db8d5831eb9 (diff) | |
download | gcc-a7c48c8ec55d482e95dddd840a9bdd0fbfad9e33.zip gcc-a7c48c8ec55d482e95dddd840a9bdd0fbfad9e33.tar.gz gcc-a7c48c8ec55d482e95dddd840a9bdd0fbfad9e33.tar.bz2 |
Test whether libgcc or kernel defines __sync_bool_compare_and_swap_4.
From-SVN: r169504
Diffstat (limited to 'libgo/runtime/thread.c')
-rw-r--r-- | libgo/runtime/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/thread.c b/libgo/runtime/thread.c index 3f1c8d5..b600754 100644 --- 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. |