1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
| | #ifndef _FEATURES_H
#define _FEATURES_H
#if defined(_ALL_SOURCE) && !defined(_GNU_SOURCE)
#define _GNU_SOURCE 1
#endif
#if defined(_DEFAULT_SOURCE) && !defined(_BSD_SOURCE)
#define _BSD_SOURCE 1
#endif
#if !defined(_POSIX_SOURCE) && !defined(_POSIX_C_SOURCE) \
&& !defined(_XOPEN_SOURCE) && !defined(_GNU_SOURCE) \
&& !defined(_BSD_SOURCE) && !defined(__STRICT_ANSI__)
#define _BSD_SOURCE 1
#define _XOPEN_SOURCE 700
#endif
#if __STDC_VERSION__ >= 199901L
#define __restrict restrict
#elif !defined(__GNUC__)
#define __restrict
#endif
#if __STDC_VERSION__ >= 199901L || defined(__cplusplus)
#define __inline inline
#define __inline_or_static inline
#else
#if !defined(__GNUC__)
#define __inline
#endif
#define __inline_or_static static
#endif
#if __STDC_VERSION__ >= 201112L
#elif defined(__GNUC__)
#define _Noreturn __attribute__((__noreturn__))
#else
#define _Noreturn
#endif
#ifdef __has_c_attribute
# if __has_c_attribute(__noreturn__)
# define __noreturn [[__noreturn__]]
# endif
# if __has_c_attribute(__deprecated__)
# define __deprecated [[__deprecated__]]
# endif
#endif
#ifndef __noreturn
# define __noreturn _Noreturn
#endif
#ifndef __deprecated
# if defined(__GNUC__)
# define __deprecated __attribute__((__deprecated__))
# else
# define __deprecated
# endif
#endif
#define __REDIR(x,y) __typeof__(x) x __asm__(#y)
#define __has_VA_OPT2(_0, _1, ...) _1
#define __has_VA_OPT1(...) __has_VA_OPT2(__VA_OPT__(,) 1, 0,)
#define __has_VA_OPT __has_VA_OPT1(C23)
// If the platform supports the _BitInt(128) types (all C23 compiler
// should have that)
#if __BITINT_MAXWIDTH__ >= 128 || BITINT_MAXWIDTH >= 128
#define __has_bitint128 1
#endif
// If the platform supports the 128 integer type and has _BitInt(128)
#if __SIZEOF_INT128__ && __has_bitint128
#define __has_int128_t 1
#endif
#endif
|