grub/grub-core/osdep/random.c
Vladimir 'phcoder' Serbinenko d0a116ee5a * grub-core/osdep/random.c: Use unix/random.c on haiku. Haiku uses
yarrow (by B. Schneier et al) for its /dev/urandom (similar to FreeBSD).
2013-10-19 02:30:05 +02:00

10 lines
368 B
C

#if defined (_WIN32) || defined (__CYGWIN__)
#include "windows/random.c"
#elif defined (__linux__) || defined (__FreeBSD__) \
|| defined (__FreeBSD_kernel__) || defined (__OpenBSD__) \
|| defined (__GNU__) || defined (__NetBSD__) \
|| defined (__APPLE__) || defined(__sun__) || defined (__HAIKU__)
#include "unix/random.c"
#else
#include "basic/random.c"
#endif