Blob Blame History Raw
#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