Skip to content

Commit c33ba76

Browse files
committed
Use __AVR__ define to make the library compilable for ArduinoCore-megaavr
1 parent 3301d03 commit c33ba76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WiFiMDNSResponder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2323

2424
#include <avr/pgmspace.h>
25-
#ifndef ARDUINO_ARCH_AVR
25+
#ifndef __AVR__
2626
#include <strings.h>
2727
#endif
2828

0 commit comments

Comments
 (0)