]> granicus.if.org Git - libatomic_ops/commit
Fix powerpc detection on AIX (gcc)
authorTobias Leich <email@froggs.de>
Thu, 17 Nov 2016 22:05:42 +0000 (01:05 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 17 Nov 2016 22:14:23 +0000 (01:14 +0300)
commitb6bfe95a4e215d2db19f26ba5a8cb8b0726e2afe
tree74ca7c6bc7ff20c03e7737a8c3e8beffdee60d3a
parent239ea5f3e998ef4aca873aba5ac6668eaa252b35
Fix powerpc detection on AIX (gcc)

GCC/powerpc-ibm-aix does not define any of __powerpc__, __ppc__,
__PPC__, __powerpc64__, __ppc64__; but it does define _ARCH_PPC (and
_POWER).

* src/atomic_ops.h [_ARCH_PPC]: Include gcc/powerpc.h.
src/atomic_ops.h