mirror of
https://github.com/rfc1036/whois.git
synced 2026-08-01 07:20:13 +00:00
Do not use arc4random_buf on OS X v10.6 or erlier
Because it had not been implemented yet. Patch from MacPorts.
This commit is contained in:
parent
df1c963a3e
commit
b1cf371706
2
config.h
2
config.h
@ -85,7 +85,7 @@
|
||||
#if (defined __FreeBSD__ && __FreeBSD__ >= 9) || \
|
||||
(defined __NetBSD__ && __NetBSD_Version__ >= 600000000) || \
|
||||
(defined OpenBSD && OpenBSD >= 200805) || \
|
||||
(defined __APPLE__ && defined __MACH__)
|
||||
(defined __APPLE__ && defined __MACH__ && MAC_OS_X_VERSION_MIN_REQUIRED >= 1070)
|
||||
# define HAVE_ARC4RANDOM_BUF
|
||||
# undef RANDOM_DEVICE
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user