1
0
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:
Calvin Rose 2019-12-15 15:56:26 -06:00
parent b8004555ea
commit c7912249b2

View File

@ -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);