blob: 90bf4219ff2ac27a94c8556704f0b8733600a63c (
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
|
#ifndef PY_OSAPI_MIDIPIX_H
#define PY_OSAPI_MIDIPIX_H
/* os-specific headers */
#define HAVE_ALLOCA_H 1
#define HAVE_DIRENT_H 1
#define HAVE_NETPACKET_PACKET_H 1
/* interfaces */
#define HAVE_GETRANDOM_SYSCALL 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
/* getrandom */
#ifndef GRND_RANDOM
#define GRND_NONBLOCK (0x01)
#define GRND_RANDOM (0x02)
#endif
/* sockets: AF_CAN (silly, but patch-free:-)) */
#include <sys/socket.h>
#undef AF_CAN
#endif
|