Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disabled getrandom provider on Android prior to API version 28.
Android supports getrandom and getentropy functions only since API version 28. As part of the fix converted Linux/Android platform detection from Boost.Predef to direct checks of platform-specific macros. This is to work around Boost.Predef problem described in [1] - depending on header inclusion order Boost.Predef may indicate Linux or Android. When that problem is fixed we may change back to Boost.Predef. Fixes boostorg#76. [1]: boostorg/predef#81 (comment)
- Loading branch information