]> git.ipfire.org Git - thirdparty/json-c.git/commit
Check the __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{2,4,8} defines to decide whether to use...
authorEric Haszlakiewicz <erh+git@nimenees.com>
Tue, 7 Jun 2016 03:26:46 +0000 (03:26 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Tue, 7 Jun 2016 03:26:46 +0000 (03:26 +0000)
commit0539191d187050faad0ed2657cddfd411e4c7900
treeb2b0fccb45880ad4e195b90ff2ec5e2328d32fa2
parent1eb5a700f9c06cbb74179157d159438d838b1d54
Check the __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{2,4,8} defines to decide whether to use __sync_val_compare_and_swap(), as described at https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
Also, fix the types of the variables when building on Windows.
Also, should address issue #214.
linkhash.c