diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-11 22:31:57 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-11 22:31:57 +0000 |
commit | 472727ba1f406230aa63bef3d39bcc5c8b184a80 (patch) | |
tree | 4afa823332b6b54f59ff02094a1c3626e73aa1c9 /cpudetect.c | |
parent | 796a0db35cb209b8c8a29d4fea7988927a0cb439 (diff) | |
download | mpv-472727ba1f406230aa63bef3d39bcc5c8b184a80.tar.bz2 mpv-472727ba1f406230aa63bef3d39bcc5c8b184a80.tar.xz |
Slightly simplify preprocessor conditionals.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25367 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpudetect.c')
-rw-r--r-- | cpudetect.c | 4 |
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 */ |