blob: 1b392f8b2426d57c39e8b15e660df1d6a923e2cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef __IP_SET_COMPILER_H
#define __IP_SET_COMPILER_H
/* Compiler attributes */
#ifndef __has_attribute
# define __has_attribute(x) __GCC4_has_attribute_##x
# define __GCC4_has_attribute___fallthrough__ 0
#endif
#if __has_attribute(__fallthrough__)
# define fallthrough __attribute__((__fallthrough__))
#else
# define fallthrough do {} while (0) /* fallthrough */
#endif
#endif /* __IP_SET_COMPILER_H */
|