X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=gcc-compat.h;h=7367173aac419e9abd6232408d446a01cbf35d33;hp=1cd30af2fc7219cb132aa9d0631518e4c6efa942;hb=63c513602a6b6a97cdced053beea0b2d07a9f984;hpb=4108592dd3ac3a4cbee530b64c6f9c8b6a60be99 diff --git a/gcc-compat.h b/gcc-compat.h index 1cd30af2..7367173a 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 __aligned(alignment) __attribute__((__aligned__(alignment))) + /* * p is the number of the "format string" parameter, and q is * the number of the first variadic parameter.