summaryrefslogtreecommitdiff
path: root/profiles/osapi/linux.h
blob: 482a4ed6bcc24e2dab0c55f9835451201288990a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef PY_OSAPI_LINUX_H
#define PY_OSAPI_LINUX_H

/* sys headers */
#define HAVE_SYS_EPOLL_H                1

/* interfaces */
#define HAVE_EPOLL                      1
#define HAVE_LINUX_CAN_RAW_FD_FRAMES    1
#define HAVE_SOCKADDR_ALG               1

/* os-specific headers */
#define HAVE_ASM_TYPES_H                1
#define HAVE_ALLOCA_H                   1
#define HAVE_DIRENT_H                   1
#define HAVE_LINUX_CAN_BCM_H            1
#define HAVE_LINUX_CAN_H                1
#define HAVE_LINUX_CAN_RAW_H            1
#define HAVE_LINUX_NETLINK_H            1
#define HAVE_LINUX_RANDOM_H             1
#define HAVE_LINUX_TIPC_H               1
#define HAVE_LINUX_VM_SOCKETS_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