X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FRts.h;h=1d455f0d6d222179ecfa7385afca22b601fb71be;hb=bb7ffa1642e2110e26e1243c42a8a24adafa985d;hp=ec84ed9671bff494da24861d42f360ea7c6bfc4c;hpb=60680c9d7ee0a3c985f1b2c5f0d97568f2de625b;p=ghc-hetmet.git diff --git a/includes/Rts.h b/includes/Rts.h index ec84ed9..1d455f0 100644 --- a/includes/Rts.h +++ b/includes/Rts.h @@ -38,6 +38,12 @@ extern "C" { #define FLEXIBLE_ARRAY 0 #endif +#if __GNUC__ >= 3 +#define ATTRIBUTE_ALIGNED(n) __attribute__((aligned(n))) +#else +#define ATTRIBUTE_ALIGNED(n) /*nothing*/ +#endif + /* Fix for mingw stat problem (done here so it's early enough) */ #ifdef mingw32_HOST_OS #define __MSVCRT__ 1