[MPlayer-cvslog] r28375 - trunk/mpcommon.c

diego subversion at mplayerhq.hu
Mon Jan 26 12:24:05 CET 2009


Author: diego
Date: Mon Jan 26 12:24:05 2009
New Revision: 28375

Log:
Replace a bunch of '#if HAVE_FOO' preprocessor checks by 'if (HAVE_FOO)'.

Modified:
   trunk/mpcommon.c

Modified: trunk/mpcommon.c
==============================================================================
--- trunk/mpcommon.c	Mon Jan 26 10:56:27 2009	(r28374)
+++ trunk/mpcommon.c	Mon Jan 26 12:24:05 2009	(r28375)
@@ -45,30 +45,22 @@ void print_version(const char* name)
     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 */



More information about the MPlayer-cvslog mailing list