meson: Test for __atomic_add_fetch in atomic checks
authorAndrew Galante <spock128@gmail.com>
Mon, 11 Jun 2018 22:03:36 +0000 (15:03 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 13 Jun 2018 17:09:46 +0000 (10:09 -0700)
commit9d547a7617fbcbc29f75ed85ff774807ddca5ce0
tree6b0535f8dacc10e73fbbea7c469fc193289a5336
parentb29b5a82a17e845e73ebef845176d9d1f44a2d00
meson: Test for __atomic_add_fetch in atomic checks

Some platforms have 64-bit __atomic_load_n but not 64-bit
__atomic_add_fetch, so test for both of them.

Bug: https://bugs.gentoo.org/655616
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
meson.build