summaryrefslogtreecommitdiff
path: root/pyconfig.h
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-10-24 04:11:04 +0000
committerCoprDistGit <infra@openeuler.org>2024-10-24 04:11:04 +0000
commitd83fa8360c587fda79e9cbed0430f40120ad20d8 (patch)
treef8a2ab4a47cb781a86333cdf9cbb32f9ec860a40 /pyconfig.h
parent334db9062e911271c9a1571b49b76b21a57ef3dc (diff)
automatic import of python3
Diffstat (limited to 'pyconfig.h')
-rw-r--r--pyconfig.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/pyconfig.h b/pyconfig.h
new file mode 100644
index 0000000..78bc6bb
--- /dev/null
+++ b/pyconfig.h
@@ -0,0 +1,9 @@
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "pyconfig-32.h"
+#elif __WORDSIZE == 64
+#include "pyconfig-64.h"
+#else
+#error "Unknown word size"
+#endif