diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-05-05 16:36:16 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-05-05 16:36:16 +0000 |
commit | e0b0e7b2950d3c132004105bba5f36a8eaea7925 (patch) | |
tree | efbc741458280913c775d1bb3b0cda7212b9b8e0 /cmake | |
parent | 0017180e70edb1461e06a4aeafd95d760a539e69 (diff) |
[build] Add build check for ::arc4random().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156236 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/config-ix.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index 37b3646180..51b64ac8bb 100755 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -91,6 +91,7 @@ if( NOT PURE_WINDOWS ) endif() # function checks +check_symbol_exists(arc4random "stdlib.h" HAVE_ARC4RANDOM) check_symbol_exists(getpagesize unistd.h HAVE_GETPAGESIZE) check_symbol_exists(getrusage sys/resource.h HAVE_GETRUSAGE) check_symbol_exists(setrlimit sys/resource.h HAVE_SETRLIMIT) |