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

Fix FFI undefined symbol stat64 by falling back to syscall #62

Closed
wants to merge 1 commit into from

Conversation

Matthew-Allen
Copy link
Contributor

Fixes #37
FFI fails to create a binding for stat64 (and other stat functions such as stat, lstat, etc) on systems where macros are heavily used in the definition of said functions. This fix builds off of the workaround by @pirogronian, but instead of falling back to LOVE filesystem utilities, uses syscalls to produce equivalent functionality to stat64.

@coding-jackalope
Copy link
Collaborator

Hi @Matthew-Allen, thanks for this pull request. I was having issues reproducing this issue, so it is nice to have fix for this. This will be merged in the next release.

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.

Error on opening file via FileDialog
2 participants