changeset 25339:f7421e2698c4

Slightly simplify preprocessor conditionals.
author diego
date Tue, 11 Dec 2007 22:31:57 +0000
parents dfba06821076
children b6107034e981
files cpudetect.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 */