X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=gcc-compat.h;h=45d9c9ba8dcf1497001014a6fa06841c427d08be;hp=1cd30af2fc7219cb132aa9d0631518e4c6efa942;hb=b908fa3f5577d1f64bd8628d03a344aee2ca6fa1;hpb=684ea7f70948c9ce5077a8a6460946ff86fefe46 diff --git a/gcc-compat.h b/gcc-compat.h index 1cd30af2..45d9c9ba 100644 --- a/gcc-compat.h +++ b/gcc-compat.h @@ -1,7 +1,9 @@ -# define inline inline __attribute__ ((always_inline)) -# define __noreturn __attribute__ ((noreturn)) -# define __malloc __attribute__ ((malloc)) -# define __a_unused __attribute__ ((unused)) +#define inline inline __attribute__ ((always_inline)) +#define __noreturn __attribute__ ((noreturn)) +#define __malloc __attribute__ ((malloc)) +#define __a_unused __attribute__ ((unused)) +#define __a_aligned(alignment) __attribute__((__aligned__(alignment))) + /* * p is the number of the "format string" parameter, and q is * the number of the first variadic parameter. @@ -21,3 +23,4 @@ # endif #define _static_inline_ static inline +