From 472727ba1f406230aa63bef3d39bcc5c8b184a80 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 11 Dec 2007 22:31:57 +0000 Subject: Slightly simplify preprocessor conditionals. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25367 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cpudetect.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cpudetect.c') diff --git a/cpudetect.c b/cpudetect.c index d045dc0265..6b94283426 100644 --- a/cpudetect.c +++ b/cpudetect.c @@ -500,8 +500,7 @@ void GetCpuCaps( CpuCaps *caps) if (has_vu != 0) caps->hasAltiVec = 1; } -#else /* __APPLE__ */ -#ifdef __AMIGAOS4__ +#elif __AMIGAOS4__ ULONG result = 0; GetCPUInfoTags(GCIT_VectorUnit, &result, TAG_DONE); @@ -526,7 +525,6 @@ void GetCpuCaps( CpuCaps *caps) caps->hasAltiVec = 1; } } -#endif //__AMIGAOS4__ #endif /* __APPLE__ */ mp_msg(MSGT_CPUDETECT,MSGL_INFO,"AltiVec %sfound\n", (caps->hasAltiVec ? "" : "not ")); #endif /* HAVE_ALTIVEC */ -- cgit v1.2.3