Skip to content

Commit

Permalink
Merge pull request #297 from arduino-libraries/fix-for-samd-core-api-…
Browse files Browse the repository at this point in the history
…integration

Disable '<avr/pgmspace.h>' when not compiling for an AVR based board …
  • Loading branch information
aentinger authored Nov 23, 2020
2 parents 57126ce + 93993ad commit bc845a4
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 bc845a4

Please sign in to comment.