[riot-notifications] [RIOT-OS/RIOT] Fixed AF_INET6 number to match C-library defines (#12145)

Martine Lenders notifications at github.com
Mon Sep 2 18:22:39 CEST 2019

> Since we are using posix system calls with lwIP, I would expect that those numbers are aligned in the source when `module_lwip` and `module_posix_sockets` are selected together.

Agreed, but that should rather then happen via CPP/buildsystem magic that the right value is always used, than by fixing the values of RIOT to those of one particular external package (be they "more correct" or not), just because they happen to be the same as on Linux. A different external network stack package might have a different value yet again.

> I was not aware of MacOS using a different value.

FreeBSD uses [yet another value](https://github.com/freebsd/freebsd/blob/master/sys/sys/socket.h#L253) so I don't think there is any convergence of the values.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190902/20688b01/attachment.htm>

More information about the notifications mailing list