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

Windows support #109

Open
simonbyrne opened this issue Nov 15, 2022 · 0 comments
Open

Windows support #109

simonbyrne opened this issue Nov 15, 2022 · 0 comments

Comments

@simonbyrne
Copy link
Contributor

I tried to build on Windows, but hit issues with this:

/* triangles are four-byte-aligned and that the `unsigned long' type is */
/* long enough to hold a pointer are two of the few kludges in this program.*/

On Windows, unsigned long is 32 bits even on 64 bit platforms. It could either be changed to unsigned long long, or uintptr_t (included in <stdint.h> from C-99).

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

No branches or pull requests

1 participant