Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/engines/common


Modified Files:
        evas_cpu.c 


Log Message:
Only perform runtime checks if the cpu features are enabled.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_cpu.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- evas_cpu.c  28 May 2003 05:55:12 -0000      1.10
+++ evas_cpu.c  10 Jun 2003 14:52:16 -0000      1.11
@@ -71,10 +71,14 @@
    if (called) return;
    called = 1;
 #ifdef __i386__
+#ifdef BUILD_MMX
    cpu_feature_mask |= CPU_FEATURE_MMX * 
      evas_common_cpu_feature_test(evas_common_cpu_mmx_test);
+#ifdef BUILD_SSE
    cpu_feature_mask |= CPU_FEATURE_SSE * 
      evas_common_cpu_feature_test(evas_common_cpu_sse_test);
+#endif /* BUILD_SSE */
+#endif /* BUILD_MMX */
 #endif /* __i386__ */
 #ifdef __POWERPC__
 #ifdef __VEC__




-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to