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

Some fixes for non glibc systems #330

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

Conversation

listout
Copy link

@listout listout commented Sep 13, 2022

  • On non glibc systems (sometimes) uint is not available hence using unsigned int instead.
  • For timeval, <sys/time.h> is needed to be imported on non glibc systems.

Signed-off-by: listout [email protected]

- On non glibc systems (sometimes) `uint` is not available hence using
  `unsigned int` instead.
- For `timeval`, <sys/time.h> is needed to be imported on non glibc
  systems.

Signed-off-by: listout <[email protected]>
@ckiee
Copy link
Contributor

ckiee commented Jan 2, 2023

On my glibc x86_64-linux system UINT_MAX is $2^{32}-1$. It should probably be uintptr_t?

@PixlOne PixlOne force-pushed the main branch 14 times, most recently from a062ed0 to a77b328 Compare May 4, 2023 05:32
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.

2 participants