diff options
author | midipix <writeonce@midipix.org> | 2018-12-02 18:28:30 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-02 19:51:50 -0500 |
commit | cfa9c8609770f458f066d004f13612064898db20 (patch) | |
tree | c8e988e646696e795772b622bbd3f889a6ac02b2 /profiles/osapi/linux.h | |
parent | 18f499e9b7f486ee4a017d42830fe2b2b6bafc9e (diff) | |
download | sbpython2-cfa9c8609770f458f066d004f13612064898db20.tar.bz2 sbpython2-cfa9c8609770f458f066d004f13612064898db20.tar.xz |
project, config/x86_64-linux-musl: refactored pyconfig.h, created subset defs.
Diffstat (limited to 'profiles/osapi/linux.h')
-rw-r--r-- | profiles/osapi/linux.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/profiles/osapi/linux.h b/profiles/osapi/linux.h new file mode 100644 index 0000000..98dfa75 --- /dev/null +++ b/profiles/osapi/linux.h @@ -0,0 +1,24 @@ +#ifndef PY_OSAPI_LINUX_H +#define PY_OSAPI_LINUX_H + +/* sys headers */ +#define HAVE_SYS_EPOLL_H 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 + +#endif |