Return a sample pointer from DoFilters
[openal-soft.git] / include / align.h
blobbabd410699074c54a4c8c44eadd8a81b616fca8c
1 #ifndef AL_ALIGN_H
2 #define AL_ALIGN_H
4 #ifdef HAVE_STDALIGN_H
5 #include <stdalign.h>
6 #endif
8 #ifndef alignas
9 #ifdef HAVE_C11_ALIGNAS
10 #define alignas _Alignas
11 #elif defined(IN_IDE_PARSER)
12 /* KDevelop has problems with our align macro, so just use nothing for parsing. */
13 #define alignas(x)
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 */