diff options
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r-- | winsup/w32api/include/winnt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h index eec5993bd..05343c057 100644 --- a/winsup/w32api/include/winnt.h +++ b/winsup/w32api/include/winnt.h @@ -43,6 +43,14 @@ extern "C" { #define UNALIGNED #endif +#ifndef DECLSPEC_ALIGN +#ifdef __GNUC__ +#define DECLSPEC_ALIGN(x) __attribute__((aligned(x))) +#else +#define DECLSPEC_ALIGN(x) +#endif +#endif + #ifndef VOID #define VOID void #endif |