We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46e71a9 commit b2a46c9Copy full SHA for b2a46c9
rng/unix/mc_getrandom_stubs.c
@@ -29,7 +29,7 @@ void raw_getrandom (uint8_t *data, uint32_t len) {
29
off += (size_t)r;
30
}
31
32
-#elif (defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__OpenBSD__) || defined(__APPLE__))
+#elif (defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__OpenBSD__) || defined(__APPLE__)) || defined(__NetBSD__)
33
// on BSD and macOS, loop (in pieces of 256) getentropy
34
#if defined(__APPLE__)
35
// on macOS, getentropy is defined in sys/random.h (on BSD in unistd.h)
0 commit comments