]> granicus.if.org Git - postgresql/commit
Given a gcc-compatible xlc compiler, prefer xlc-style atomics.
authorNoah Misch <noah@leadboat.com>
Thu, 9 Jul 2015 00:44:21 +0000 (20:44 -0400)
committerNoah Misch <noah@leadboat.com>
Thu, 9 Jul 2015 00:44:26 +0000 (20:44 -0400)
commitc0d7342f1650b6fdefc865c6da33e1f092778af0
treed860b43c60fc1c1cdc9fba5ac18a99f116ecfff4
parentabf5190c07a7e4de2b10b01dc38723aaa28339f6
Given a gcc-compatible xlc compiler, prefer xlc-style atomics.

This evades a ppc64le "IBM XL C/C++ for Linux" compiler bug.  Back-patch
to 9.5, where the atomics facility was introduced.
src/include/port/atomics.h