#if defined(__linux__)
# if defined(__x86_64__) && defined(__LP64__)
#  include <x86_64-linux-gnu/@subdir@/@header@>
# elif defined(__x86_64__) && defined(__ILP32__)
#  include <x86_64-linux-gnux32/@subdir@/@header@>
# elif defined(__i386__)
#  include <i386-linux-gnu/@subdir@/@header@>
# elif defined(__aarch64__) && defined(__AARCH64EL__)
#  include <aarch64-linux-gnu/@subdir@/@header@>
# elif defined(__arc__)
#  include <arc-linux-gnu/@subdir@/@header@>
# elif defined(__alpha__)
#  include <alpha-linux-gnu/@subdir@/@header@>
# elif defined(__ARM_EABI__) && defined(__ARM_PCS_VFP)
#  include <arm-linux-gnueabihf/@subdir@/@header@>
# elif defined(__ARM_EABI__) && !defined(__ARM_PCS_VFP)
#  include <arm-linux-gnueabi/@subdir@/@header@>
# elif defined(__hppa__)
#  include <hppa-linux-gnu/@subdir@/@header@>
# elif defined(__ia64__)
#  include <ia64-linux-gnu/@subdir@/@header@>
# elif defined(__loongarch__)
#  if defined(__loongarch_lp64)
#   if defined(__loongarch_soft_float)
#	include <loongarch64-linux-gnusf/@subdir@/@header@>
#   elif defined(__loongarch_single_float)
#	include <loongarch64-linux-gnuf32/@subdir@/@header@>
#   elif defined(__loongarch_double_float)
#	include <loongarch64-linux-gnu/@subdir@/@header@>
#   else
#   	error unknown multiarch location for @header@
#   endif
#  else
#   	error unknown multiarch location for @header@
#  endif
# elif defined(__m68k__) && !defined(__mcoldfire__)
#  include <m68k-linux-gnu/@subdir@/@header@>
# elif defined(__mips_hard_float) && defined(__mips_isa_rev) && (__mips_isa_rev >=6) && defined(_MIPSEL)
#  if _MIPS_SIM == _ABIO32
#   include <mipsisa32r6el-linux-gnu/@subdir@/@header@>
#  elif _MIPS_SIM == _ABIN32
#   include <mipsisa64r6el-linux-gnuabin32/@subdir@/@header@>
#  elif _MIPS_SIM == _ABI64
#   include <mipsisa64r6el-linux-gnuabi64/@subdir@/@header@>
#  else
#   error unknown multiarch location for @header@
#  endif
# elif defined(__mips_hard_float) && defined(__mips_isa_rev) && (__mips_isa_rev >=6)
#  if _MIPS_SIM == _ABIO32
#   include <mipsisa32r6-linux-gnu/@subdir@/@header@>
#  elif _MIPS_SIM == _ABIN32
#   include <mipsisa64r6-linux-gnuabin32/@subdir@/@header@>
#  elif _MIPS_SIM == _ABI64
#   include <mipsisa64r6-linux-gnuabi64/@subdir@/@header@>
#  else
#   error unknown multiarch location for @header@
#  endif
# elif defined(__mips_hard_float) && defined(_MIPSEL)
#  if _MIPS_SIM == _ABIO32
#   include <mipsel-linux-gnu/@subdir@/@header@>
#  elif _MIPS_SIM == _ABIN32
#   include <mips64el-linux-gnuabin32/@subdir@/@header@>
#  elif _MIPS_SIM == _ABI64
#   include <mips64el-linux-gnuabi64/@subdir@/@header@>
#  else
#   error unknown multiarch location for @header@
#  endif
# elif defined(__mips_hard_float)
#  if _MIPS_SIM == _ABIO32
#   include <mips-linux-gnu/@subdir@/@header@>
#  elif _MIPS_SIM == _ABIN32
#   include <mips64-linux-gnuabin32/@subdir@/@header@>
#  elif _MIPS_SIM == _ABI64
#   include <mips64-linux-gnuabi64/@subdir@/@header@>
#  else
#   error unknown multiarch location for @header@
#  endif
# elif defined(__or1k__)
#  include <or1k-linux-gnu/@subdir@/@header@>
# elif defined(__powerpc__) && defined(__SPE__)
#  include <powerpc-linux-gnuspe/@subdir@/@header@>
# elif defined(__powerpc64__)
#  if defined(__LITTLE_ENDIAN__)
#    include <powerpc64le-linux-gnu/@subdir@/@header@>
#  else
#    include <powerpc64-linux-gnu/@subdir@/@header@>
#  endif
# elif defined(__powerpc__)
#  include <powerpc-linux-gnu/@subdir@/@header@>
# elif defined(__s390x__)
#  include <s390x-linux-gnu/@subdir@/@header@>
# elif defined(__s390__)
#  include <s390-linux-gnu/@subdir@/@header@>
# elif defined(__sh__) && defined(__LITTLE_ENDIAN__)
#  include <sh4-linux-gnu/@subdir@/@header@>
# elif defined(__sparc__) && defined(__arch64__)
#  include <sparc64-linux-gnu/@subdir@/@header@>
# elif defined(__sparc__)
#  include <sparc-linux-gnu/@subdir@/@header@>
# elif defined(__riscv)
#  if __riscv_xlen == 64
#    include <riscv64-linux-gnu/@subdir@/@header@>
#  else
#    include <riscv32-linux-gnu/@subdir@/@header@>
#  endif
# else
#   error unknown multiarch location for @header@
# endif
#elif defined(__FreeBSD_kernel__)
# if defined(__LP64__)
#  include <x86_64-kfreebsd-gnu/@subdir@/@header@>
# elif defined(__i386__)
#  include <i386-kfreebsd-gnu/@subdir@/@header@>
# else
#   error unknown multiarch location for @header@
# endif
#elif defined(__gnu_hurd__)
# if defined(__LP64__)
#  include <x86_64-gnu/@subdir@/@header@>
# elif defined(__i386__)
#  include <i386-gnu/@subdir@/@header@>
# else
#  error unknown multiarch location for @header@
# endif
#else
# error unknown multiarch location for @header@
#endif
