Skip to content

Conversation

@05nelsonm
Copy link
Member

@05nelsonm 05nelsonm commented Aug 23, 2025

Closes #43

Because kotlin uses glibc 2.19 when compiling Linux x86_64, sys/random.h is not available to pull in the definition for GRND_NONBLOCK. It was simpler to just write the C code & compile via cklib, as opposed to pulling in any unnecessary headers and using expect/actual.

@05nelsonm 05nelsonm self-assigned this Aug 23, 2025
Copy link
Member Author

@05nelsonm 05nelsonm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Copy link
Member Author

@05nelsonm 05nelsonm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@05nelsonm 05nelsonm merged commit 85f5fdf into master Aug 24, 2025
39 of 40 checks passed
@05nelsonm 05nelsonm deleted the issue/43-random branch August 24, 2025 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Import random.h for Linux/AndroidNative to use GRND_NONBLOCK definition, instead of hard-coded value

2 participants