Free Electron
ext
openal
openal-soft-1.19.1
common
align.h
1
#ifndef AL_ALIGN_H
2
#define AL_ALIGN_H
3
4
#if defined(HAVE_STDALIGN_H) && defined(HAVE_C11_ALIGNAS)
5
#include <stdalign.h>
6
#endif
7
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
20
21
#endif
/* AL_ALIGN_H */
Generated by
1.8.13