Commit 02ab53ce by Edward Thomson

cmake: use `check_symbol_exists` for rand functions

`check_symbol_exists` is superior to `check_function_exists`; use it
consistently in our cmake configuration
parent 9908c076
...@@ -84,8 +84,8 @@ check_prototype_definition_safe(qsort_s ...@@ -84,8 +84,8 @@ check_prototype_definition_safe(qsort_s
# random / entropy data # random / entropy data
check_function_exists(getentropy GIT_RAND_GETENTROPY) check_symbol_exists(getentropy unistd.h GIT_RAND_GETENTROPY)
check_function_exists(getloadavg GIT_RAND_GETLOADAVG) check_symbol_exists(getloadavg stdlib.h GIT_RAND_GETLOADAVG)
# poll # poll
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment