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/osapi/linux.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 profiles/osapi/linux.h (limited to 'profiles/osapi/linux.h') diff --git a/profiles/osapi/linux.h b/profiles/osapi/linux.h new file mode 100644 index 0000000..692bfac --- /dev/null +++ b/profiles/osapi/linux.h @@ -0,0 +1,30 @@ +#ifndef PY_OSAPI_LINUX_H +#define PY_OSAPI_LINUX_H + +/* sys headers */ +#define HAVE_SYS_EPOLL_H 1 + +/* interfaces */ +#define HAVE_EPOLL 1 + +/* os-specific headers */ +#define HAVE_ASM_TYPES_H 1 +#define HAVE_ALLOCA_H 1 +#define HAVE_DIRENT_H 1 +#define HAVE_LINUX_NETLINK_H 1 +#define HAVE_LINUX_TIPC_H 1 +#define HAVE_NETPACKET_PACKET_H 1 + +/* os characteristics */ +#define RETSIGTYPE void +#define SHLIB_EXT ".so" + +/* framework characteristics */ +#define SYS_SELECT_WITH_SYS_TIME 1 +#define TANH_PRESERVES_ZERO_SIGN 1 +#define TIME_WITH_SYS_TIME 1 + +/* compiler, toolchain, and abi */ +#define VA_LIST_IS_ARRAY 1 + +#endif -- cgit v1.2.3