Skip to content

Commit c5d9a96

Browse files
authored
Merge pull request #208 from DrItanium/bug/dritanium/MegaCoreX-207_BadEthernet
Move INADDR_NONE out of the arduino namespace to not break the Ethernet library
2 parents 7881778 + 901bdf0 commit c5d9a96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

megaavr/cores/coreX-corefiles/api/IPAddress.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ class IPAddress : public Printable
8080
friend ::DNSClient;
8181
};
8282

83-
extern const IPAddress INADDR_NONE;
8483
}
8584
using arduino::IPAddress;
85+
86+
extern const IPAddress INADDR_NONE;

0 commit comments

Comments
 (0)