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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable