# HG changeset patch # User diego # Date 1203877301 0 # Node ID f012754e267cd1b7b018d7873558acb7981508c2 # Parent 6ede4d6afa41de6598571f0f434070518d9a3d48 Wrap HAVE_XXX macros with RUNTIME_CPUDETECT, because when RUNTIME_CPUDETECT is enabled, checking HAVE_XXX and disabling that CPU feature is meaningless. patch by KO Myung-Hun, komh chollian net diff -r 6ede4d6afa41 -r f012754e267c cpudetect.c --- a/cpudetect.c Sun Feb 24 18:09:28 2008 +0000 +++ b/cpudetect.c Sun Feb 24 18:21:41 2008 +0000 @@ -202,6 +202,7 @@ // 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 @@ if(caps->has3DNowExt) mp_msg(MSGT_CPUDETECT,MSGL_WARN,"3DNowExt supported but disabled\n"); caps->has3DNowExt=0; #endif +#endif // RUNTIME_CPUDETECT }