summaryrefslogtreecommitdiff
path: root/profiles/toolchain
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-02 18:28:30 -0500
committermidipix <writeonce@midipix.org>2018-12-02 19:51:50 -0500
commitcfa9c8609770f458f066d004f13612064898db20 (patch)
treec8e988e646696e795772b622bbd3f889a6ac02b2 /profiles/toolchain
parent18f499e9b7f486ee4a017d42830fe2b2b6bafc9e (diff)
downloadsbpython2-cfa9c8609770f458f066d004f13612064898db20.tar.bz2
sbpython2-cfa9c8609770f458f066d004f13612064898db20.tar.xz
project, config/x86_64-linux-musl: refactored pyconfig.h, created subset defs.
Diffstat (limited to 'profiles/toolchain')
-rw-r--r--profiles/toolchain/64-default.h22
-rw-r--r--profiles/toolchain/64-le-ieee.h6
2 files changed, 28 insertions, 0 deletions
diff --git a/profiles/toolchain/64-default.h b/profiles/toolchain/64-default.h
new file mode 100644
index 0000000..957f6dd
--- /dev/null
+++ b/profiles/toolchain/64-default.h
@@ -0,0 +1,22 @@
+#ifndef PY_TOOLCHAIN_64_DEFAULT_H
+#define PY_TOOLCHAIN_64_DEFAULT_H
+
+#define SIZEOF_DOUBLE 8
+#define SIZEOF_FLOAT 4
+#define SIZEOF_FPOS_T 16
+#define SIZEOF_INT 4
+#define SIZEOF_LONG 8
+#define SIZEOF_LONG_DOUBLE 16
+#define SIZEOF_LONG_LONG 8
+#define SIZEOF_OFF_T 8
+#define SIZEOF_PID_T 4
+#define SIZEOF_PTHREAD_T 8
+#define SIZEOF_SHORT 2
+#define SIZEOF_SIZE_T 8
+#define SIZEOF_TIME_T 8
+#define SIZEOF_UINTPTR_T 8
+#define SIZEOF_VOID_P 8
+#define SIZEOF_WCHAR_T 4
+#define SIZEOF__BOOL 1
+
+#endif
diff --git a/profiles/toolchain/64-le-ieee.h b/profiles/toolchain/64-le-ieee.h
new file mode 100644
index 0000000..d982677
--- /dev/null
+++ b/profiles/toolchain/64-le-ieee.h
@@ -0,0 +1,6 @@
+#ifndef PY_TOOLCHAIN_64_LE_IEEE_H
+#define PY_TOOLCHAIN_64_LE_IEEE_H
+
+#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1
+
+#endif