workaround to have backward compatibility for EAI_NODATA.

it will be removed on 23 Apr 2004.

Submitted by:	terry
This commit is contained in:
Hajimu UMEMOTO 2003-10-23 17:54:17 +00:00
parent 231ef86f68
commit 56f88dba4c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121439

View File

@ -163,6 +163,7 @@ struct addrinfo {
#define EAI_NODATA 7 /* no address associated with hostname */
#endif
#define EAI_NONAME 8 /* hostname nor servname provided, or not known */
#define EAI_NODATA EAINONAME /* To be removed on 23 APR 2004 */
#define EAI_SERVICE 9 /* servname not supported for ai_socktype */
#define EAI_SOCKTYPE 10 /* ai_socktype not supported */
#define EAI_SYSTEM 11 /* system error returned in errno */