OSX needs both unistd.h and sys/random.h in order to define
getentropy().
Details
Details
- Reviewers
deadalnix jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGING0851d55b0ea3: [CMAKE] Fix getentropy detection on OSX
rABC0851d55b0ea3: [CMAKE] Fix getentropy detection on OSX
On OSX:
cmake -GNinja ..
Check the first getentropy (only unistd.h) fails, and the second one
(both unistd.h and sys/random.h) succeeds.
Run the OSX gitian build.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- cmake_getentropy_osx
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 9034 Build 16030: Default Diff Build & Tests Build 16029: arc lint + arc unit