summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpudetect.c')
-rw-r--r--cpudetect.c4
1 files changed, 1 insertions, 3 deletions
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 */