changeset 28340:b0af9b4b5015

Replace a bunch of '#if HAVE_FOO' preprocessor checks by 'if (HAVE_FOO)'.
author diego
date Mon, 26 Jan 2009 11:24:05 +0000
parents 69346a3311e9
children 67410f3b67da
files mpcommon.c
diffstat 1 files changed, 8 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/mpcommon.c	Mon Jan 26 09:56:27 2009 +0000
+++ b/mpcommon.c	Mon Jan 26 11:24:05 2009 +0000
@@ -45,30 +45,22 @@
     mp_msg(MSGT_CPLAYER,MSGL_V, MSGTR_CompiledWithRuntimeDetection);
 #else
     mp_msg(MSGT_CPLAYER,MSGL_V, MSGTR_CompiledWithCPUExtensions);
-#if HAVE_MMX
+if (HAVE_MMX)
     mp_msg(MSGT_CPLAYER,MSGL_V," MMX");
-#endif
-#if HAVE_MMX2
+if (HAVE_MMX2)
     mp_msg(MSGT_CPLAYER,MSGL_V," MMX2");
-#endif
-#if HAVE_AMD3DNOW
+if (HAVE_AMD3DNOW)
     mp_msg(MSGT_CPLAYER,MSGL_V," 3DNow");
-#endif
-#if HAVE_AMD3DNOWEXT
+if (HAVE_AMD3DNOWEXT)
     mp_msg(MSGT_CPLAYER,MSGL_V," 3DNowExt");
-#endif
-#if HAVE_SSE
+if (HAVE_SSE)
     mp_msg(MSGT_CPLAYER,MSGL_V," SSE");
-#endif
-#if HAVE_SSE2
+if (HAVE_SSE2)
     mp_msg(MSGT_CPLAYER,MSGL_V," SSE2");
-#endif
-#if HAVE_SSSE3
+if (HAVE_SSSE3)
     mp_msg(MSGT_CPLAYER,MSGL_V," SSSE3");
-#endif
-#if HAVE_CMOV
+if (HAVE_CMOV)
     mp_msg(MSGT_CPLAYER,MSGL_V," CMOV");
-#endif
     mp_msg(MSGT_CPLAYER,MSGL_V,"\n");
 #endif /* RUNTIME_CPUDETECT */
 #endif /* ARCH_X86 */