Skip to content

Commit ebd381e

Browse files
committed
Fixes Arduino IPAddress object INADDR_NONE in Azure IoT, Matter (connectedhomeip) and AWS projects
1 parent 4da1051 commit ebd381e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cores/esp32/IPAddress.h

+3
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ class IPAddress: public Printable
9191
friend class DNSClient;
9292
};
9393

94+
// avoids some conflict in some AWS, Microsoft Azure and MATTER projects
95+
#ifndef INADDR_NONE
9496
const IPAddress INADDR_NONE(0, 0, 0, 0);
97+
#endif
9598

9699
#endif

0 commit comments

Comments
 (0)