aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/python/pyconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'repos/extra/python/pyconfig.h')
-rw-r--r--repos/extra/python/pyconfig.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/repos/extra/python/pyconfig.h b/repos/extra/python/pyconfig.h
new file mode 100644
index 00000000..89181b4e
--- /dev/null
+++ b/repos/extra/python/pyconfig.h
@@ -0,0 +1,16 @@
+/* pyconfig.h stub */
+
+#ifndef __STUB__PYCONFIG_H__
+#define __STUB__PYCONFIG_H__
+
+#if defined(__x86_64__) || \
+ defined(__sparc64__) || \
+ defined(__arch64__) || \
+ defined(__powerpc64__) || \
+ defined(__s390x__)
+#include "pyconfig-64.h"
+#else
+#include "pyconfig-32.h"
+#endif
+
+#endif