diff options
author | Chris Robinson <[email protected]> | 2014-12-24 17:15:50 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-12-24 17:15:50 -0800 |
commit | 4dc9956a12881d282bdc499b89d8619d8e7d08e2 (patch) | |
tree | 63599949f344b24ef7c862afa1e7bb0e4c38ac18 /include/align.h | |
parent | bc17d6fc45ccf98e3b62e4c6b5b6046bf6255d2f (diff) |
Remove some IN_IDE_PARSER uses
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. */ |