Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/sock_kcm_options.in; do not edit. */
      2 
      3 #include "gcc_compat.h"
      4 #include "static_assert.h"
      5 
      6 #if defined(KCM_RECV_DISABLE) || (defined(HAVE_DECL_KCM_RECV_DISABLE) && HAVE_DECL_KCM_RECV_DISABLE)
      7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      8 static_assert((KCM_RECV_DISABLE) == (1), "KCM_RECV_DISABLE != 1");
      9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     10 #else
     11 # define KCM_RECV_DISABLE 1
     12 #endif
     13 
     14 #ifndef XLAT_MACROS_ONLY
     15 
     16 # ifdef IN_MPERS
     17 
     18 #  error static const struct xlat sock_kcm_options in mpers mode
     19 
     20 # else
     21 
     22 static
     23 const struct xlat sock_kcm_options[] = {
     24  XLAT(KCM_RECV_DISABLE),
     25  XLAT_END
     26 };
     27 
     28 # endif /* !IN_MPERS */
     29 
     30 #endif /* !XLAT_MACROS_ONLY */
     31