Avoid tracing wide-char strings
[openal-soft.git] / include / align.h
blobe2dc81dff39b0e3e5aeb09578695135eaf862927
1 #ifndef AL_ALIGN_H
2 #define AL_ALIGN_H
4 #if defined(HAVE_STDALIGN_H) && defined(HAVE_C11_ALIGNAS)
5 #include <stdalign.h>
6 #endif
8 #ifndef alignas
9 #if defined(IN_IDE_PARSER)
10 /* KDevelop has problems with our align macro, so just use nothing for parsing. */
11 #define alignas(x)
12 #elif defined(HAVE_C11_ALIGNAS)
13 #define alignas _Alignas
14 #else
15 /* NOTE: Our custom ALIGN macro can't take a type name like alignas can. For
16 * maximum compatibility, only provide constant integer values to alignas. */
17 #define alignas(_x) ALIGN(_x)
18 #endif
19 #endif
21 #endif /* AL_ALIGN_H */