1
2
3
9
10
11
12
13
16
17
18
19
20
24
25
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
52
53
54
/* ... */
#ifndef OPENOCD_HELPER_COMPILER_H
#define OPENOCD_HELPER_COMPILER_H
/* ... */
#ifndef __has_attribute
# define __has_attribute(x) 0
#endif
/* ... */
#ifndef __returns_nonnull
# if __has_attribute(__returns_nonnull__)
# define __returns_nonnull __attribute__((__returns_nonnull__))
# else
# define __returns_nonnull
# endif/* ... */
#endif
/* ... */
#if defined(__APPLE__)
# undef __nonnull
#endif
#ifndef __nonnull
# if __has_attribute(__nonnull__)
# define __nonnull(params) __attribute__ ((__nonnull__ params))
# else
# define __nonnull(params)
# endif/* ... */
#endif
/* ... */
#endif