mirror of
https://github.com/janet-lang/janet
synced 2024-12-28 17:30:31 +00:00
Typo in #ifdef.
This commit is contained in:
parent
b8004555ea
commit
c7912249b2
@ -549,7 +549,7 @@ static Janet os_cryptorand(int32_t argc, Janet *argv) {
|
|||||||
n -= nread;
|
n -= nread;
|
||||||
}
|
}
|
||||||
RETRY_EINTR(rc, close(randfd));
|
RETRY_EINTR(rc, close(randfd));
|
||||||
#elif defined(JANET_BSD) || define(JANET_APPLE)
|
#elif defined(JANET_BSD) || defined(JANET_APPLE)
|
||||||
(void) genericerr;
|
(void) genericerr;
|
||||||
|
|
||||||
arc4random_buf(buffer->data + offset, n);
|
arc4random_buf(buffer->data + offset, n);
|
||||||
|
Loading…
Reference in New Issue
Block a user