You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
823 B
25 lines
823 B
diff --git a/src/misc/cpu.c b/src/misc/cpu.c
|
|
index ac42227..ffe7716 100644
|
|
--- a/src/misc/cpu.c
|
|
+++ b/src/misc/cpu.c
|
|
-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;
|