summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpudetect.c')
-rw-r--r--cpudetect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpudetect.c b/cpudetect.c
index c3cbe41254..933f394d49 100644
--- a/cpudetect.c
+++ b/cpudetect.c
@@ -202,6 +202,7 @@ void GetCpuCaps( CpuCaps *caps)
// caps->hasMMX2 = 0;
// caps->hasMMX = 0;
+#ifndef RUNTIME_CPUDETECT
#ifndef HAVE_MMX
if(caps->hasMMX) mp_msg(MSGT_CPUDETECT,MSGL_WARN,"MMX supported but disabled\n");
caps->hasMMX=0;
@@ -226,6 +227,7 @@ void GetCpuCaps( CpuCaps *caps)
if(caps->has3DNowExt) mp_msg(MSGT_CPUDETECT,MSGL_WARN,"3DNowExt supported but disabled\n");
caps->has3DNowExt=0;
#endif
+#endif // RUNTIME_CPUDETECT
}