blob: 0c3300a6a2c6cf5fb4caeca2a905476bc1ca00f9 (
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
|
#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
/* 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
|