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

Add compatibility with MinGW and cross compilation #65

Closed
Crunkle opened this Issue Jun 7, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@Crunkle

Crunkle commented Jun 7, 2018

We were looking into using this library but found that it has no support for cross compilers. There are too many differences between MinGW GCC and MSVC for it to compile.

Upon inspection, it looks like inet_pton causes issues as, for the symbol to become declared, it requires Windows Vista macros to be set. Some of the old C99 compatibility macros from inttypes.h cause issues as well under MinGW builds.

@gafferongames

This comment has been minimized.

Member

gafferongames commented Jun 7, 2018

Happy to accept a pull request to fix this if you have it. cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment