summaryrefslogtreecommitdiff
path: root/profiles/toolchain
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-14 15:21:47 -0500
committermidipix <writeonce@midipix.org>2018-12-18 20:38:38 -0500
commit163f7614a875802e3eccda713f206cfa7ae3534e (patch)
tree85f8b259219da1bf7f32c6f2efba6f8e278460fe /profiles/toolchain
parentf8089b2b4ab3b13077cf2e0e1328622ddc002bb2 (diff)
downloadsbpython3-163f7614a875802e3eccda713f206cfa7ae3534e.tar.bz2
sbpython3-163f7614a875802e3eccda713f206cfa7ae3534e.tar.xz
config & profiles: imported the osapi and toolchain headers from sbpython2.
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