Skip to content

Commit bc845a4

Browse files
authored
Merge pull request #297 from arduino-libraries/fix-for-samd-core-api-integration
Disable '<avr/pgmspace.h>' when not compiling for an AVR based board …
2 parents 57126ce + 93993ad commit bc845a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/WiFiMDNSResponder.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
// License along with this library; if not, write to the Free Software
2222
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2323

24+
#ifdef ARDUINO_ARCH_AVR
2425
#include <avr/pgmspace.h>
26+
#endif
2527
#ifndef __AVR__
2628
#include <strings.h>
2729
#endif

0 commit comments

Comments
 (0)