Mercurial > mplayer.hg
changeset 25329:676e2ace8a46
Replace SYS_DARWIN conditional by the more correct __APPLE__.
author | diego |
---|---|
date | Tue, 11 Dec 2007 20:27:13 +0000 |
parents | 6f0309e575e0 |
children | ea7e788c4b7f |
files | cpudetect.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/cpudetect.c Tue Dec 11 20:16:00 2007 +0000 +++ b/cpudetect.c Tue Dec 11 20:27:13 2007 +0000 @@ -446,7 +446,7 @@ } #else /* ARCH_X86 */ -#ifdef SYS_DARWIN +#ifdef __APPLE__ #include <sys/sysctl.h> #else #ifndef __AMIGAOS4__ @@ -467,7 +467,7 @@ siglongjmp (jmpbuf, 1); } #endif //__AMIGAOS4__ -#endif +#endif /* __APPLE__ */ void GetCpuCaps( CpuCaps *caps) { @@ -483,7 +483,7 @@ 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 @@ if (has_vu != 0) caps->hasAltiVec = 1; } -#else /* SYS_DARWIN */ +#else /* __APPLE__ */ #ifdef __AMIGAOS4__ ULONG result = 0; @@ -527,7 +527,7 @@ } } #endif //__AMIGAOS4__ -#endif /* SYS_DARWIN */ +#endif /* __APPLE__ */ mp_msg(MSGT_CPUDETECT,MSGL_INFO,"AltiVec %sfound\n", (caps->hasAltiVec ? "" : "not ")); #endif /* HAVE_ALTIVEC */