diff options
Diffstat (limited to 'include/align.h')
-rw-r--r-- | include/align.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/align.h b/include/align.h index be01f4e4..e2dc81df 100644 --- a/include/align.h +++ b/include/align.h @@ -6,11 +6,11 @@ #endif #ifndef alignas -#ifdef HAVE_C11_ALIGNAS -#define alignas _Alignas -#elif defined(IN_IDE_PARSER) +#if defined(IN_IDE_PARSER) /* KDevelop has problems with our align macro, so just use nothing for parsing. */ #define alignas(x) +#elif defined(HAVE_C11_ALIGNAS) +#define alignas _Alignas #else /* NOTE: Our custom ALIGN macro can't take a type name like alignas can. For * maximum compatibility, only provide constant integer values to alignas. */ |