summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-26 11:24:05 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-26 11:24:05 +0000
commit4d72948eb6505eaab4a3afa668c873276bbad41b (patch)
tree03d7f1841e62c400c9284d9e3c5baf3bea89f319
parent0c3d542dc75343725f23a855ee9f59f3aa1dcc74 (diff)
downloadmpv-4d72948eb6505eaab4a3afa668c873276bbad41b.tar.bz2
mpv-4d72948eb6505eaab4a3afa668c873276bbad41b.tar.xz
Replace a bunch of '#if HAVE_FOO' preprocessor checks by 'if (HAVE_FOO)'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28375 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mpcommon.c24
1 files changed, 8 insertions, 16 deletions
diff --git a/mpcommon.c b/mpcommon.c
index 3d87f11c95..1165fc45ee 100644
--- a/mpcommon.c
+++ b/mpcommon.c
@@ -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 */