mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
namespace cleanup - NI_* is NOT reserved by netdb.h
This commit is contained in:
parent
7db6a871ca
commit
20052b9815
1 changed files with 2 additions and 3 deletions
|
@ -44,9 +44,6 @@ struct addrinfo
|
|||
#define NI_DGRAM 0x10
|
||||
/*#define NI_NUMERICSCOPE */
|
||||
|
||||
#define NI_MAXHOST 255
|
||||
#define NI_MAXSERV 32
|
||||
|
||||
#define EAI_BADFLAGS -1
|
||||
#define EAI_NONAME -2
|
||||
#define EAI_AGAIN -3
|
||||
|
@ -146,6 +143,8 @@ int getservbyname_r(const char *, const char *, struct servent *, char *, size_t
|
|||
#define EAI_ALLDONE -103
|
||||
#define EAI_INTR -104
|
||||
#define EAI_IDN_ENCODE -105
|
||||
#define NI_MAXHOST 255
|
||||
#define NI_MAXSERV 32
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue