# HG changeset patch # User diego # Date 1197412317 0 # Node ID f7421e2698c481e7c4947050ddc7e2dc730a16f1 # Parent dfba068210767b68bcead3e4eeab1ea6e53823c0 Slightly simplify preprocessor conditionals. diff -r dfba06821076 -r f7421e2698c4 cpudetect.c --- a/cpudetect.c Tue Dec 11 22:29:22 2007 +0000 +++ b/cpudetect.c Tue Dec 11 22:31:57 2007 +0000 @@ -500,8 +500,7 @@ 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 @@ caps->hasAltiVec = 1; } } -#endif //__AMIGAOS4__ #endif /* __APPLE__ */ mp_msg(MSGT_CPUDETECT,MSGL_INFO,"AltiVec %sfound\n", (caps->hasAltiVec ? "" : "not ")); #endif /* HAVE_ALTIVEC */