[vlc-devel] commit: Fix compilation on Linux PPC (Christophe Mutricy )
git version control
git at videolan.org
Sun Sep 20 01:23:11 CEST 2009
vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Sun Sep 20 00:20:55 2009 +0100| [6920054e55c4a2c707273efc9b59cfd81c4596b2] | committer: Christophe Mutricy
Fix compilation on Linux PPC
Not tested
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6920054e55c4a2c707273efc9b59cfd81c4596b2
---
src/misc/cpu.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
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;
More information about the vlc-devel
mailing list