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