summaryrefslogtreecommitdiff
path: root/profiles/osapi/midipix.h
blob: 300e36164a179bb0dd620a4d14a3f2c7bc7903f6 (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
#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

#endif