summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorEric Haszlakiewicz <erh+git@nimenees.com>2021-01-13 01:57:25 +0000
committerEric Haszlakiewicz <erh+git@nimenees.com>2021-01-13 01:57:25 +0000
commit0f61f6921b2e4395d1e354ad356137e44d6a7e11 (patch)
tree5c0750743f8f9f7a85e8f3b034b65cea086fdc1f /cmake
parent69d650528da0e23654065f4efc26c469bdae663c (diff)
downloadjson-c-0f61f6921b2e4395d1e354ad356137e44d6a7e11.tar.gz
Iesue #692: use arc4random() if it's available (in libc on BSD systems, and libbsd on Linux).
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/config.h.in b/cmake/config.h.in
index 9e097cb..be0202a 100644
--- a/cmake/config.h.in
+++ b/cmake/config.h.in
@@ -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