mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
Slightly simplify preprocessor conditionals.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25367 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
796a0db35c
commit
472727ba1f
@ -500,8 +500,7 @@ void GetCpuCaps( CpuCaps *caps)
|
|||||||
if (has_vu != 0)
|
if (has_vu != 0)
|
||||||
caps->hasAltiVec = 1;
|
caps->hasAltiVec = 1;
|
||||||
}
|
}
|
||||||
#else /* __APPLE__ */
|
#elif __AMIGAOS4__
|
||||||
#ifdef __AMIGAOS4__
|
|
||||||
ULONG result = 0;
|
ULONG result = 0;
|
||||||
|
|
||||||
GetCPUInfoTags(GCIT_VectorUnit, &result, TAG_DONE);
|
GetCPUInfoTags(GCIT_VectorUnit, &result, TAG_DONE);
|
||||||
@ -526,7 +525,6 @@ void GetCpuCaps( CpuCaps *caps)
|
|||||||
caps->hasAltiVec = 1;
|
caps->hasAltiVec = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif //__AMIGAOS4__
|
|
||||||
#endif /* __APPLE__ */
|
#endif /* __APPLE__ */
|
||||||
mp_msg(MSGT_CPUDETECT,MSGL_INFO,"AltiVec %sfound\n", (caps->hasAltiVec ? "" : "not "));
|
mp_msg(MSGT_CPUDETECT,MSGL_INFO,"AltiVec %sfound\n", (caps->hasAltiVec ? "" : "not "));
|
||||||
#endif /* HAVE_ALTIVEC */
|
#endif /* HAVE_ALTIVEC */
|
||||||
|
Loading…
Reference in New Issue
Block a user