80 lines
3.0 KiB
C
80 lines
3.0 KiB
C
#if defined(__linux__)
|
|
# if defined(__x86_64__) && defined(__LP64__)
|
|
# include <x86_64-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__x86_64__) && defined(__ILP32__)
|
|
# include <x86_64-linux-gnux32/python3.5m/pyconfig.h>
|
|
# elif defined(__i386__)
|
|
# include <i386-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__aarch64__) && defined(__AARCH64EL__)
|
|
# include <aarch64-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__alpha__)
|
|
# include <alpha-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__ARM_EABI__) && defined(__ARM_PCS_VFP)
|
|
# include <arm-linux-gnueabihf/python3.5m/pyconfig.h>
|
|
# elif defined(__ARM_EABI__) && !defined(__ARM_PCS_VFP)
|
|
# include <arm-linux-gnueabi/python3.5m/pyconfig.h>
|
|
# elif defined(__hppa__)
|
|
# include <hppa-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__ia64__)
|
|
# include <ia64-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__m68k__) && !defined(__mcoldfire__)
|
|
# include <m68k-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__mips_hard_float) && defined(_MIPSEL)
|
|
# if _MIPS_SIM == _ABIO32
|
|
# include <mipsel-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif _MIPS_SIM == _ABIN32
|
|
# include <mips64el-linux-gnuabin32/python3.5m/pyconfig.h>
|
|
# elif _MIPS_SIM == _ABI64
|
|
# include <mips64el-linux-gnuabi64/python3.5m/pyconfig.h>
|
|
# else
|
|
# error unknown multiarch location for pyconfig.h
|
|
# endif
|
|
# elif defined(__mips_hard_float)
|
|
# if _MIPS_SIM == _ABIO32
|
|
# include <mips-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif _MIPS_SIM == _ABIN32
|
|
# include <mips64-linux-gnuabin32/python3.5m/pyconfig.h>
|
|
# elif _MIPS_SIM == _ABI64
|
|
# include <mips64-linux-gnuabi64/python3.5m/pyconfig.h>
|
|
# else
|
|
# error unknown multiarch location for pyconfig.h
|
|
# endif
|
|
# elif defined(__or1k__)
|
|
# include <or1k-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__powerpc__) && defined(__SPE__)
|
|
# include <powerpc-linux-gnuspe/python3.5m/pyconfig.h>
|
|
# elif defined(__powerpc64__)
|
|
# if defined(__LITTLE_ENDIAN__)
|
|
# include <powerpc64le-linux-gnu/python3.5m/pyconfig.h>
|
|
# else
|
|
# include <powerpc64-linux-gnu/python3.5m/pyconfig.h>
|
|
# endif
|
|
# elif defined(__powerpc__)
|
|
# include <powerpc-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__s390x__)
|
|
# include <s390x-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__s390__)
|
|
# include <s390-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__sh__) && defined(__LITTLE_ENDIAN__)
|
|
# include <sh4-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__sparc__) && defined(__arch64__)
|
|
# include <sparc64-linux-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__sparc__)
|
|
# include <sparc-linux-gnu/python3.5m/pyconfig.h>
|
|
# else
|
|
# error unknown multiarch location for pyconfig.h
|
|
# endif
|
|
#elif defined(__FreeBSD_kernel__)
|
|
# if defined(__LP64__)
|
|
# include <x86_64-kfreebsd-gnu/python3.5m/pyconfig.h>
|
|
# elif defined(__i386__)
|
|
# include <i386-kfreebsd-gnu/python3.5m/pyconfig.h>
|
|
# else
|
|
# error unknown multiarch location for pyconfig.h
|
|
# endif
|
|
#elif defined(__gnu_hurd__)
|
|
# include <i386-gnu/python3.5m/pyconfig.h>
|
|
#else
|
|
# error unknown multiarch location for pyconfig.h
|
|
#endif
|