# HG changeset patch # User Diego 'Flameeyes' Pettenò <[EMAIL PROTECTED]> # Date 1181390091 -7200 # Node ID 6527487acf7c7ac0fb2638b8c06b897b9c36c957 # Parent 9b4051b4063609f152797e87ee21d821b0d0a528 Add CHECK_MLIB macro.
diff -r 6527487acf7c7ac0fb2638b8c06b897b9c36c957 -r 9b4051b4063609f152797e87ee21d821b0d0a528 src/xine-utils/cpu_accel.h --- a/src/xine-utils/cpu_accel.h Sat Jun 09 13:54:51 2007 +0200 +++ b/src/xine-utils/cpu_accel.h Sat Jun 09 13:46:24 2007 +0200 @@ -96,6 +96,16 @@ uint32_t xine_mm_accel (void) XINE_PROTE #endif +#if defined(HAVE_MLIB) +# if !defined(MLIB_LAZYLOAD) +# define CHECK_MLIB 1 +# else +# define CHECK_MLIB (xine_mm_accel() & MM_ACCEL_MLIB) +# endif +#else +# define CHECK_MLIB 0 +#endif + /* This is not bound to a compiler define. */ # define CHECK_MMXEXT (xine_mm_accel() & MM_ACCEL_X86_MMXEXT) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Xine-cvslog mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xine-cvslog
