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