WIZ_Ethernet_Library icon indicating copy to clipboard operation
WIZ_Ethernet_Library copied to clipboard

Fix for ESP8266 trying to include avr/pgmspace.h

Open PuceBaboon opened this issue 7 years ago • 1 comments

Just added an "#ifndef ESP8266" around the include line, so all other Arduinos still pick it up, but the ESP8266 doesn't.

PuceBaboon avatar Feb 16 '18 00:02 PuceBaboon

Why isn't this included yet? Now the Ethernet sources won't compile on ESP8266 / ESP32 because of C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Twitter.h:17:26: fatal error: avr/pgmspace.h: No such file or directory.

If this pull request fixes this issue, then please merge it. Thanks

mvermand22 avatar Oct 26 '21 07:10 mvermand22