Skip to content

Fix building on Android #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hamishmack
Copy link
Contributor

Version 0.1.2 broke building on for Android:

cbits-unix/init.c:11:10: error:
     error: call to undeclared function 'getentropy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            int r = getentropy(&result, sizeof(uint64_t));

Fix building on Android

Version 0.1.2 broke building on for Android:

```
cbits-unix/init.c:11:10: error:
     error: call to undeclared function 'getentropy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            int r = getentropy(&result, sizeof(uint64_t));
```
hamishmack added a commit to input-output-hk/haskell.nix that referenced this pull request Jun 11, 2025
hamishmack added a commit to input-output-hk/haskell.nix that referenced this pull request Jun 11, 2025
hamishmack added a commit to input-output-hk/haskell.nix that referenced this pull request Jun 12, 2025
* Fix splitmix on android

See haskellari/splitmix#97

* Fix defaults used when passing args to `shellFor`
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.

1 participant