LibC: Define IN_LOOPBACKNET

some ports expect this to exist
This commit is contained in:
Bananymous 2025-11-10 00:11:42 +02:00
parent 998ea25fb9
commit 3a951f4830
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ enum
#define IPV6_V6ONLY IPV6_V6ONLY
};
#define IN_LOOPBACKNET 127
#define IN_MULTICAST(a) (((in_addr_t)(a) & 0xF0000000) == 0xE0000000)
#define INADDR_ANY 0