[vlc-devel] commit: Fix compilation on Linux PPC (Christophe Mutricy )
git version control
git at videolan.org
Sun Sep 20 01:27:45 CEST 2009
vlc | branch: 1.0-bugfix | Christophe Mutricy <xtophe at videolan.org> | Sun Sep 20 00:20:55 2009 +0100| [af471b38dad726e63ac5062b5c7fa314fb985d07] | committer: Christophe Mutricy
Fix compilation on Linux PPC
Not tested
(cherry picked from commit 6920054e55c4a2c707273efc9b59cfd81c4596b2)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af471b38dad726e63ac5062b5c7fa314fb985d07
---
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 7ddf541..7b10a04 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -45,8 +45,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
@@ -231,7 +231,8 @@ out:
i_capabilities |= CPU_CAPABILITY_FPU;
# 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