11,28d10
< #if (NXT_HAVE_ARC4RANDOM)
<
< /*
< * arc4random() has been introduced in OpenBSD 2.1 and then was ported
< * to FreeBSD 2.2.6, NetBSD 2.0, MacOSX and SmartOS.
< *
< * arc4random() automatically initializes itself in the first call and
< * then reinitializes itself in the first call in every forked processes.
< */
<
< typedef void *nxt_random_t;
<
<
< #define nxt_random_init(r)
< #define nxt_random(r) arc4random()
<
< #else
<
44d25
< #endif
46d26
<