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

Fix compilation on Linux PPC

Not tested
parent 1e0a0540
...@@ -44,8 +44,8 @@ ...@@ -44,8 +44,8 @@
#include <sys/sysctl.h> #include <sys/sysctl.h>
#endif #endif
#if defined( __i386__ ) || defined( __x86_64__ ) \ #if defined( __i386__ ) || defined( __x86_64__ ) || defined( __powerpc__ ) \
|| defined( __ppc__ ) || defined( __ppc64__ ) || defined( __ppc__ ) || defined( __ppc64__ ) || defined( __powerpc64__ )
static bool check_OS_capability( const char *psz_capability, pid_t pid ) static bool check_OS_capability( const char *psz_capability, pid_t pid )
{ {
#ifndef WIN32 #ifndef WIN32
...@@ -233,7 +233,8 @@ out: ...@@ -233,7 +233,8 @@ out:
i_capabilities |= CPU_CAPABILITY_NEON; i_capabilities |= CPU_CAPABILITY_NEON;
# endif # endif
#elif defined( __powerpc__ ) || defined( __ppc__ ) || defined( __ppc64__ ) #elif defined( __powerpc__ ) || defined( __ppc__ ) || defined( __powerpc64__ ) \
|| defined( __ppc64__ )
i_capabilities |= CPU_CAPABILITY_FPU; 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