Skip to content

Conversation

@vbe0201
Copy link

@vbe0201 vbe0201 commented Jul 31, 2019

Though wslay makes arpa/inet.h optional, it depends on the htonl, htons, ntohl and ntohs functions of what causes builds to fail on systems without that header. This commit adds macros to replace these functions if the header is missing, so one can also build wslay without it, for example for embedded devices like game consoles.

Though wslay makes arpa/inet.h optional, it depends on the htonl, htons, ntohl and ntohs functions of what causes builds to fail on systems without that header. This commit adds macros to replace these functions if the header is missing, so one can also build wslay without it, for example for embedded devices like game consoles.
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.

1 participant