Skip to content

Commit 2c2468f

Browse files
pfeerickd-a-v
authored andcommitted
Add ipv4_addr_t for espconn/LwIP1.4 compat (#6740)
`espconnn.h` references ipv4_addr_t, so it seems appropriate it be defined here also.
1 parent 6626b2f commit 2c2468f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/esp8266/IPAddress.h

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#define LWIP_IPV6_NUM_ADDRESSES 0
3333
#define ip_2_ip4(x) (x)
3434
#define ipv4_addr ip_addr
35+
#define ipv4_addr_t ip_addr_t
3536
#define IP_IS_V4_VAL(x) (1)
3637
#define IP_SET_TYPE_VAL(x,y) do { (void)0; } while (0)
3738
#define IP_ANY_TYPE (&ip_addr_any)

0 commit comments

Comments
 (0)