| 1 | #if defined(__linux__) |
| 2 | # if defined(__x86_64__) && defined(__LP64__) |
| 3 | # include <x86_64-linux-gnu/python3.5m/pyconfig.h> |
| 4 | # elif defined(__x86_64__) && defined(__ILP32__) |
| 5 | # include <x86_64-linux-gnux32/python3.5m/pyconfig.h> |
| 6 | # elif defined(__i386__) |
| 7 | # include <i386-linux-gnu/python3.5m/pyconfig.h> |
| 8 | # elif defined(__aarch64__) && defined(__AARCH64EL__) |
| 9 | # include <aarch64-linux-gnu/python3.5m/pyconfig.h> |
| 10 | # elif defined(__alpha__) |
| 11 | # include <alpha-linux-gnu/python3.5m/pyconfig.h> |
| 12 | # elif defined(__ARM_EABI__) && defined(__ARM_PCS_VFP) |
| 13 | # include <arm-linux-gnueabihf/python3.5m/pyconfig.h> |
| 14 | # elif defined(__ARM_EABI__) && !defined(__ARM_PCS_VFP) |
| 15 | # include <arm-linux-gnueabi/python3.5m/pyconfig.h> |
| 16 | # elif defined(__hppa__) |
| 17 | # include <hppa-linux-gnu/python3.5m/pyconfig.h> |
| 18 | # elif defined(__ia64__) |
| 19 | # include <ia64-linux-gnu/python3.5m/pyconfig.h> |
| 20 | # elif defined(__m68k__) && !defined(__mcoldfire__) |
| 21 | # include <m68k-linux-gnu/python3.5m/pyconfig.h> |
| 22 | # elif defined(__mips_hard_float) && defined(_MIPSEL) |
| 23 | # if _MIPS_SIM == _ABIO32 |
| 24 | # include <mipsel-linux-gnu/python3.5m/pyconfig.h> |
| 25 | # elif _MIPS_SIM == _ABIN32 |
| 26 | # include <mips64el-linux-gnuabin32/python3.5m/pyconfig.h> |
| 27 | # elif _MIPS_SIM == _ABI64 |
| 28 | # include <mips64el-linux-gnuabi64/python3.5m/pyconfig.h> |
| 29 | # else |
| 30 | # error unknown multiarch location for pyconfig.h |
| 31 | # endif |
| 32 | # elif defined(__mips_hard_float) |
| 33 | # if _MIPS_SIM == _ABIO32 |
| 34 | # include <mips-linux-gnu/python3.5m/pyconfig.h> |
| 35 | # elif _MIPS_SIM == _ABIN32 |
| 36 | # include <mips64-linux-gnuabin32/python3.5m/pyconfig.h> |
| 37 | # elif _MIPS_SIM == _ABI64 |
| 38 | # include <mips64-linux-gnuabi64/python3.5m/pyconfig.h> |
| 39 | # else |
| 40 | # error unknown multiarch location for pyconfig.h |
| 41 | # endif |
| 42 | # elif defined(__or1k__) |
| 43 | # include <or1k-linux-gnu/python3.5m/pyconfig.h> |
| 44 | # elif defined(__powerpc__) && defined(__SPE__) |
| 45 | # include <powerpc-linux-gnuspe/python3.5m/pyconfig.h> |
| 46 | # elif defined(__powerpc64__) |
| 47 | # if defined(__LITTLE_ENDIAN__) |
| 48 | # include <powerpc64le-linux-gnu/python3.5m/pyconfig.h> |
| 49 | # else |
| 50 | # include <powerpc64-linux-gnu/python3.5m/pyconfig.h> |
| 51 | # endif |
| 52 | # elif defined(__powerpc__) |
| 53 | # include <powerpc-linux-gnu/python3.5m/pyconfig.h> |
| 54 | # elif defined(__s390x__) |
| 55 | # include <s390x-linux-gnu/python3.5m/pyconfig.h> |
| 56 | # elif defined(__s390__) |
| 57 | # include <s390-linux-gnu/python3.5m/pyconfig.h> |
| 58 | # elif defined(__sh__) && defined(__LITTLE_ENDIAN__) |
| 59 | # include <sh4-linux-gnu/python3.5m/pyconfig.h> |
| 60 | # elif defined(__sparc__) && defined(__arch64__) |
| 61 | # include <sparc64-linux-gnu/python3.5m/pyconfig.h> |
| 62 | # elif defined(__sparc__) |
| 63 | # include <sparc-linux-gnu/python3.5m/pyconfig.h> |
| 64 | # else |
| 65 | # error unknown multiarch location for pyconfig.h |
| 66 | # endif |
| 67 | #elif defined(__FreeBSD_kernel__) |
| 68 | # if defined(__LP64__) |
| 69 | # include <x86_64-kfreebsd-gnu/python3.5m/pyconfig.h> |
| 70 | # elif defined(__i386__) |
| 71 | # include <i386-kfreebsd-gnu/python3.5m/pyconfig.h> |
| 72 | # else |
| 73 | # error unknown multiarch location for pyconfig.h |
| 74 | # endif |
| 75 | #elif defined(__gnu_hurd__) |
| 76 | # include <i386-gnu/python3.5m/pyconfig.h> |
| 77 | #else |
| 78 | # error unknown multiarch location for pyconfig.h |
| 79 | #endif |
| 80 | |