Commit 6920054e authored by Christophe Mutricy's avatar Christophe Mutricy

Fix compilation on Linux PPC

Not tested
parent 1e0a0540
......@@ -44,8 +44,8 @@
#include <sys/sysctl.h>
#endif
#if defined( __i386__ ) || defined( __x86_64__ ) \
|| defined( __ppc__ ) || defined( __ppc64__ )
#if defined( __i386__ ) || defined( __x86_64__ ) || defined( __powerpc__ ) \
|| defined( __ppc__ ) || defined( __ppc64__ ) || defined( __powerpc64__ )
static bool check_OS_capability( const char *psz_capability, pid_t pid )
{
#ifndef WIN32
......@@ -233,7 +233,8 @@ out:
i_capabilities |= CPU_CAPABILITY_NEON;
# endif
#elif defined( __powerpc__ ) || defined( __ppc__ ) || defined( __ppc64__ )
#elif defined( __powerpc__ ) || defined( __ppc__ ) || defined( __powerpc64__ ) \
|| defined( __ppc64__ )
i_capabilities |= CPU_CAPABILITY_FPU;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment