This commit is contained in:
jsg 2015-08-28 14:25:40 +00:00
parent 06524d56f2
commit a74e8629b1

View File

@ -12994,8 +12994,8 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int atomic_add(int i) { return __sync_fetch_and_add (&i, 1); }
int atomic_cmpxchg(int i, int j, int k) { return __sync_val_compare_and_swap (&i, j, k); }
int atomic_add(int *i) { return __sync_fetch_and_add (i, 1); }
int atomic_cmpxchg(int *i, int j, int k) { return __sync_val_compare_and_swap (i, j, k); }
int
main ()