Fix building for powerpc* targets with some compilers
commitc31bb934cd30050a23f7ad7a648ad29e6cd0ae5d
authorLow-power <msl0000023508@gmail.com>
Wed, 15 Mar 2023 17:44:28 +0000 (16 01:44 +0800)
committerGitHub <noreply@github.com>
Wed, 15 Mar 2023 17:44:28 +0000 (15 10:44 -0700)
tree065f491537cae6b75b124ea68ddc3fc3c6c40908
parentb7bc334d135189354a39e099a7cb3ab7776a5b60
Fix building for powerpc* targets with some compilers

Under some configurations, GCC didn't predefined macro 'powerpc' for
such a target. Use the guaranteed macro '__powerpc__' instead.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: WHR <msl0000023508@gmail.com>
Closes #14631
lib/libspl/include/sys/simd.h