Land #553, add initial support for midipix
This commit is contained in:
commit
b8d4bf7922
@ -15,6 +15,9 @@
|
|||||||
#elif defined(__linux__)
|
#elif defined(__linux__)
|
||||||
#include "arc4random_linux.h"
|
#include "arc4random_linux.h"
|
||||||
|
|
||||||
|
#elif defined(__midipix__)
|
||||||
|
#include "arc4random_linux.h"
|
||||||
|
|
||||||
#elif defined(__NetBSD__)
|
#elif defined(__NetBSD__)
|
||||||
#include "arc4random_netbsd.h"
|
#include "arc4random_netbsd.h"
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#define BYTE_ORDER BIG_ENDIAN
|
#define BYTE_ORDER BIG_ENDIAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__) || defined(__midipix__)
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
|
|
||||||
#elif defined(__sun) || defined(_AIX) || defined(__hpux)
|
#elif defined(__sun) || defined(_AIX) || defined(__hpux)
|
||||||
|
@ -80,6 +80,10 @@ char buf[1]; getentropy(buf, 1);
|
|||||||
HOST_ABI=elf
|
HOST_ABI=elf
|
||||||
CPPFLAGS="$CPPFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
|
CPPFLAGS="$CPPFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
|
||||||
;;
|
;;
|
||||||
|
*midipix*)
|
||||||
|
HOST_OS=midipix
|
||||||
|
CPPFLAGS="$CPPFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
|
||||||
|
;;
|
||||||
*netbsd*)
|
*netbsd*)
|
||||||
HOST_OS=netbsd
|
HOST_OS=netbsd
|
||||||
HOST_ABI=elf
|
HOST_ABI=elf
|
||||||
@ -130,6 +134,7 @@ AM_CONDITIONAL([HOST_DARWIN], [test x$HOST_OS = xdarwin])
|
|||||||
AM_CONDITIONAL([HOST_FREEBSD], [test x$HOST_OS = xfreebsd])
|
AM_CONDITIONAL([HOST_FREEBSD], [test x$HOST_OS = xfreebsd])
|
||||||
AM_CONDITIONAL([HOST_HPUX], [test x$HOST_OS = xhpux])
|
AM_CONDITIONAL([HOST_HPUX], [test x$HOST_OS = xhpux])
|
||||||
AM_CONDITIONAL([HOST_LINUX], [test x$HOST_OS = xlinux])
|
AM_CONDITIONAL([HOST_LINUX], [test x$HOST_OS = xlinux])
|
||||||
|
AM_CONDITIONAL([HOST_MIDIPIX], [test x$HOST_OS = xmidipix])
|
||||||
AM_CONDITIONAL([HOST_NETBSD], [test x$HOST_OS = xnetbsd])
|
AM_CONDITIONAL([HOST_NETBSD], [test x$HOST_OS = xnetbsd])
|
||||||
AM_CONDITIONAL([HOST_OPENBSD], [test x$HOST_OS = xopenbsd])
|
AM_CONDITIONAL([HOST_OPENBSD], [test x$HOST_OS = xopenbsd])
|
||||||
AM_CONDITIONAL([HOST_SOLARIS], [test x$HOST_OS = xsolaris])
|
AM_CONDITIONAL([HOST_SOLARIS], [test x$HOST_OS = xsolaris])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user