From: Darren S. <li...@yo...> - 2009-03-06 14:01:39
|
# HG changeset patch # User Darren Salt <li...@yo...> # Date 1236347911 0 # Node ID 281609c33ec2e03a704a8e846a46559ab29f3d67 # Parent 37fa2b7672ba867c84f6044020cdbde8ac949bda Include our attributes.h from libmpeg2new's attributes.h. diff -r 281609c33ec2e03a704a8e846a46559ab29f3d67 -r 37fa2b7672ba867c84f6044020cdbde8ac949bda src/libmpeg2new/include/attributes.h --- a/src/libmpeg2new/include/attributes.h Fri Mar 06 13:58:31 2009 +0000 +++ b/src/libmpeg2new/include/attributes.h Fri Mar 06 13:47:21 2009 +0000 @@ -22,11 +22,7 @@ */ /* use gcc attribs to align critical data structures */ -#ifdef ATTRIBUTE_ALIGNED_MAX -#define ATTR_ALIGN(align) __attribute__ ((__aligned__ ((ATTRIBUTE_ALIGNED_MAX < align) ? ATTRIBUTE_ALIGNED_MAX : align))) -#else -#define ATTR_ALIGN(align) -#endif +#include "../../xine-utils/attributes.h" #ifdef HAVE_BUILTIN_EXPECT #define likely(x) __builtin_expect ((x) != 0, 1) |