diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 14a1ae1..c9ce99d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -142,6 +142,11 @@ if(HAVE_ARC4RANDOM_BUF) | |||
142 | add_definitions(-DHAVE_ARC4RANDOM_BUF) | 142 | add_definitions(-DHAVE_ARC4RANDOM_BUF) |
143 | endif() | 143 | endif() |
144 | 144 | ||
145 | check_function_exists(arc4random_uniform HAVE_ARC4RANDOM_UNIFORM) | ||
146 | if(HAVE_ARC4RANDOM_UNIFORM) | ||
147 | add_definitions(-DHAVE_ARC4RANDOM_UNIFORM) | ||
148 | endif() | ||
149 | |||
145 | check_function_exists(explicit_bzero HAVE_EXPLICIT_BZERO) | 150 | check_function_exists(explicit_bzero HAVE_EXPLICIT_BZERO) |
146 | if(HAVE_EXPLICIT_BZERO) | 151 | if(HAVE_EXPLICIT_BZERO) |
147 | add_definitions(-DHAVE_EXPLICIT_BZERO) | 152 | add_definitions(-DHAVE_EXPLICIT_BZERO) |