[MPlayer-cvslog] r25367 - trunk/cpudetect.c

diego subversion at mplayerhq.hu
Tue Dec 11 23:31:58 CET 2007


Author: diego
Date: Tue Dec 11 23:31:57 2007
New Revision: 25367

Log:
Slightly simplify preprocessor conditionals.


Modified:
   trunk/cpudetect.c

Modified: trunk/cpudetect.c
==============================================================================
--- trunk/cpudetect.c	(original)
+++ trunk/cpudetect.c	Tue Dec 11 23:31:57 2007
@@ -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 */



More information about the MPlayer-cvslog mailing list