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

Remove stddef dependency #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Frayzen
Copy link

@Frayzen Frayzen commented Dec 9, 2023

The repo claims to be dependy-free. Let's change size_t to unsigned long and remove the include.
All the tests are still working after modification.

@syoyo
Copy link
Owner

syoyo commented Dec 10, 2023

unsigned long on Windows 64bit is 32bit, so we'll need to define custom size_t(4 bytes on 32bit platform, 8 bytes on 64bit) like this:

https://stackoverflow.com/questions/68920256/whats-the-difference-with-size-t-and-unsigned-long

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