Iesue #692: use arc4random() if it's available (in libc on BSD systems, and libbsd on Linux).

This commit is contained in:
Eric Haszlakiewicz
2021-01-13 01:57:25 +00:00
parent 69d650528d
commit 0f61f6921b
3 changed files with 28 additions and 2 deletions

View File

@@ -74,6 +74,12 @@
/* Define to 1 if you have the <xlocale.h> header file. */
#cmakedefine HAVE_XLOCALE_H
/* Define to 1 if you have the <bsd/stdlib.h> header file. */
#cmakedefine HAVE_BSD_STDLIB_H
/* Define to 1 if you have `arc4random' */
#cmakedefine HAVE_ARC4RANDOM
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
#cmakedefine HAVE_DOPRNT