From 163f7614a875802e3eccda713f206cfa7ae3534e Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 14 Dec 2018 15:21:47 -0500 Subject: config & profiles: imported the osapi and toolchain headers from sbpython2. --- profiles/toolchain/64-default.h | 22 ++++++++++++++++++++++ profiles/toolchain/64-le-ieee.h | 6 ++++++ 2 files changed, 28 insertions(+) create mode 100644 profiles/toolchain/64-default.h create mode 100644 profiles/toolchain/64-le-ieee.h (limited to 'profiles/toolchain') 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 -- cgit v1.2.3