From a67cf40cfc7649590fe2715dd02cfacc53d63bff Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 11 Dec 2007 20:27:13 +0000 Subject: [PATCH] Replace SYS_DARWIN conditional by the more correct __APPLE__. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25357 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cpudetect.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cpudetect.c b/cpudetect.c index cc70304bb8..7848561ccc 100644 --- a/cpudetect.c +++ b/cpudetect.c @@ -446,7 +446,7 @@ static void check_os_katmai_support( void ) } #else /* ARCH_X86 */ -#ifdef SYS_DARWIN +#ifdef __APPLE__ #include #else #ifndef __AMIGAOS4__ @@ -467,7 +467,7 @@ static void sigill_handler (int sig) siglongjmp (jmpbuf, 1); } #endif //__AMIGAOS4__ -#endif +#endif /* __APPLE__ */ void GetCpuCaps( CpuCaps *caps) { @@ -483,7 +483,7 @@ void GetCpuCaps( CpuCaps *caps) caps->isX86=0; caps->hasAltiVec = 0; #ifdef HAVE_ALTIVEC -#ifdef SYS_DARWIN +#ifdef __APPLE__ /* rip-off from ffmpeg altivec detection code. this code also appears on Apple's AltiVec pages. @@ -500,7 +500,7 @@ void GetCpuCaps( CpuCaps *caps) if (has_vu != 0) caps->hasAltiVec = 1; } -#else /* SYS_DARWIN */ +#else /* __APPLE__ */ #ifdef __AMIGAOS4__ ULONG result = 0; @@ -527,7 +527,7 @@ void GetCpuCaps( CpuCaps *caps) } } #endif //__AMIGAOS4__ -#endif /* SYS_DARWIN */ +#endif /* __APPLE__ */ mp_msg(MSGT_CPUDETECT,MSGL_INFO,"AltiVec %sfound\n", (caps->hasAltiVec ? "" : "not ")); #endif /* HAVE_ALTIVEC */