netstack-lwip icon indicating copy to clipboard operation
netstack-lwip copied to clipboard

Windows Support

Open spongebob888 opened this issue 2 years ago • 1 comments

Hello, I'm trying to add wintun support for leaf. I found that LWIP_DEBUG is enabled by default which requires an implementation of lwip_strerr by user. On Linux, it seems to work. But on windows(msvc tool chain), it leads to a link error since lwip_strerr can't be linked.

So I commented the LWIP_DEBUG macro

spongebob888 avatar Mar 19 '23 08:03 spongebob888

BTW, I tested leaf with this change on Linux, it still works.

spongebob888 avatar Mar 19 '23 13:03 spongebob888