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

Replace gettid() with syscall(SYS_gettid) for earlier glibc versions #32

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

SpriteOvO
Copy link
Owner

Fixes #31.

Reference from gettid() of Ubuntu manpage.

Library support was added in glibc 2.30. (Earlier glibc versions did not provide a wrapper for this system call, necessitating the use of syscall(2).)

@SpriteOvO SpriteOvO changed the title Replace gettid with syscall for earlier glibc versions Replace gettid() with syscall(SYS_gettid) for earlier glibc versions Jul 10, 2023
@SpriteOvO SpriteOvO merged commit 27f1ea1 into main Jul 10, 2023
@SpriteOvO SpriteOvO deleted the fix-gettid branch July 10, 2023 12:42
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.

Can't build with 0.3.9 - undefined reference to `gettid'
1 participant