LibC: Add INADDR_LOOPBACK

Some port was using this. Loopback addresses are not supported, but they
will be 127.0.0.1.
This commit is contained in:
Bananymous 2024-08-05 00:56:42 +03:00
parent aa03274093
commit 615d9d4abe
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@ __BEGIN_DECLS
#define IPV6_V6ONLY 7
#define INADDR_ANY 0
#define INADDR_BROADCAST UINT32_MAX
#define INADDR_BROADCAST 0xFFFFFFFF
#define INADDR_LOOPBACK 0x7F000001
#define INET_ADDRSTRLEN 16
#define INET6_ADDRSTRLEN 46