Skip to content

Commit

Permalink
Disable '<avr/pgmspace.h>' when not compiling for an AVR based board …
Browse files Browse the repository at this point in the history
…in order to allow ArduinoCore-API integration into ArduinoCore-samd for MKR1000
  • Loading branch information
aentinger committed Nov 23, 2020
1 parent 57126ce commit 93993ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/WiFiMDNSResponder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

#ifdef ARDUINO_ARCH_AVR
#include <avr/pgmspace.h>
#endif
#ifndef __AVR__
#include <strings.h>
#endif
Expand Down

0 comments on commit 93993ad

Please # to comment.