lbussy / LCBUrl

Arduino library for handling URLs
MIT License
7 stars 1 forks source link

Arduino v3.x support #52

Open thorrak opened 4 months ago

thorrak commented 4 months ago

One of the changes coming with Arduino 3.x is that the lwip headers are no longer included by one of the upstream dependencies, resulting in there not being defines for things like IPADDR_NONE and IPADDR_LOOPBACK. This conditionally adds those defines.

An alternative implementation would be to do #include <ip4_addr.h> in LCBUrl.cpp where I have included the conditional defines.