diff options
author | Rolf Eike Beer <eb@emlix.com> | 2017-08-02 14:09:19 +0200 |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2017-08-05 22:23:59 +0200 |
commit | dc9c4d454a5106437c58fc4ba1addadfe2aef05c (patch) | |
tree | 8230129522921c76ec13fa1d7c6bdd0cc1f1cf7b /expat/expat_config.h.cmake | |
parent | 45a9b99af9683facdaa576690f1e2d2e04999281 (diff) | |
download | libexpat-git-dc9c4d454a5106437c58fc4ba1addadfe2aef05c.tar.gz |
CMake: detect the presence of entropy functions
Diffstat (limited to 'expat/expat_config.h.cmake')
-rw-r--r-- | expat/expat_config.h.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/expat/expat_config.h.cmake b/expat/expat_config.h.cmake index e5147915..41829c04 100644 --- a/expat/expat_config.h.cmake +++ b/expat/expat_config.h.cmake @@ -3,6 +3,12 @@ /* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
#cmakedefine BYTEORDER @BYTEORDER@
+/* Define to 1 if you have the `arc4random' function. */
+#cmakedefine HAVE_ARC4RANDOM
+
+/* Define to 1 if you have the `arc4random_buf' function. */
+#cmakedefine HAVE_ARC4RANDOM_BUF
+
/* Define to 1 if you have the `bcopy' function. */
#cmakedefine HAVE_BCOPY
@@ -15,6 +21,9 @@ /* Define to 1 if you have the `getpagesize' function. */
#cmakedefine HAVE_GETPAGESIZE
+/* Define to 1 if you have the `getrandom' function. */
+#cmakedefine HAVE_GETRANDOM
+
/* Define to 1 if you have the <inttypes.h> header file. */
#cmakedefine HAVE_INTTYPES_H
@@ -39,6 +48,9 @@ /* Define to 1 if you have the <string.h> header file. */
#cmakedefine HAVE_STRING_H
+/* Define to 1 if you have `syscall' and `SYS_getrandom'. */
+#cmakedefine HAVE_SYSCALL_GETRANDOM
+
/* Define to 1 if you have the <sys/stat.h> header file. */
#cmakedefine HAVE_SYS_STAT_H
|