Skip to content
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

unix-ffi/machine/timer: Use libc if librt is not present #995

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

Conversation

basvd
Copy link

@basvd basvd commented Apr 6, 2025

Newer implementations of libc integrate the functions from librt, for example glibc since 2.17 and uClibc-ng. So if the librt.so cannot be loaded, it can be assumed that libc contains the expected functions.

@basvd basvd force-pushed the fix-machine-timer-ffi-librt branch 4 times, most recently from 07a1a80 to bca6fbe Compare April 6, 2025 12:47
Newer implementations of libc integrate the functions from librt, for
example glibc since 2.17 and uClibc-ng. So if the librt.so cannot be
loaded, it can be assumed that libc contains the expected functions.

Signed-off-by: Bas van Doren <basvdoren@gmail.com>
@basvd basvd force-pushed the fix-machine-timer-ffi-librt branch from bca6fbe to d0bd333 Compare April 6, 2025 13:01
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