1 /* Generated by ./xlat/gen.sh from ./xlat/getsock_options.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 #if defined __hppa__
7 #if defined(SO_GET_FILTER) || (defined(HAVE_DECL_SO_GET_FILTER) && HAVE_DECL_SO_GET_FILTER)
8 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
9 static_assert((SO_GET_FILTER) == (16410), "SO_GET_FILTER != 16410");
10 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
11 #else
12 # define SO_GET_FILTER 16410
13 #endif
14 #else
15 #if defined(SO_GET_FILTER) || (defined(HAVE_DECL_SO_GET_FILTER) && HAVE_DECL_SO_GET_FILTER)
16 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
17 static_assert((SO_GET_FILTER) == (26), "SO_GET_FILTER != 26");
18 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
19 #else
20 # define SO_GET_FILTER 26
21 #endif
22 #endif
23 
24 #ifndef XLAT_MACROS_ONLY
25 
26 # ifdef IN_MPERS
27 
28 #  error static const struct xlat getsock_options in mpers mode
29 
30 # else
31 
32 static
33 const struct xlat getsock_options[] = {
34 #if defined __hppa__
35  XLAT(SO_GET_FILTER),
36 #else
37  XLAT(SO_GET_FILTER),
38 #endif
39  XLAT_END
40 };
41 
42 # endif /* !IN_MPERS */
43 
44 #endif /* !XLAT_MACROS_ONLY */
45