eycorsican / netstack-lwip

57 stars 41 forks source link

Windows Support #6

Open spongebob888 opened 1 year ago

spongebob888 commented 1 year ago

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 commented 1 year ago

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