]> git.ipfire.org Git - thirdparty/squid.git/commit
Portability: check 64-bit GNU atomic operators are useable
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 13 Mar 2015 11:26:27 +0000 (04:26 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 13 Mar 2015 11:26:27 +0000 (04:26 -0700)
commit5c3530a9d82a173ec159a7691c3399c079eb7062
tree75d6a7c7e291ef501eaa8fcb77f8c0225f2c6c5d
parent937f9fb86dc6dd4bf0d4a7765312b049fd2d7da5
Portability: check 64-bit GNU atomic operators are useable

Sometimes (namely 32-bit OpenBSD libstdc++) do not fully implement the
GNU atomic operators for both 32-bit and 64-bit. But Squid makes use of
both types if the compiler deems them required.

We need to check them all before declaring the atomics usable, or not.

 Thanks to Stuart Henderson for identifying the issue.
configure.ac