#ifdef EPFNOSUPPORT
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
static const char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93";
|
||||
static const char rcsid[] = "$Id: res_send.c,v 1.9 2004/03/18 02:58:02 marka Exp $";
|
||||
static const char rcsid[] = "$Id: res_send.c,v 1.10 2004/04/12 07:07:06 marka Exp $";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/*
|
||||
@@ -612,7 +612,9 @@ send_vc(res_state statp,
|
||||
if (statp->_vcsock < 0) {
|
||||
switch (errno) {
|
||||
case EPROTONOSUPPORT:
|
||||
#ifdef EPFNOSUPPORT
|
||||
case EPFNOSUPPORT:
|
||||
#endif
|
||||
case EAFNOSUPPORT:
|
||||
Perror(statp, stderr, "socket(vc)", errno);
|
||||
return (0);
|
||||
@@ -773,7 +775,9 @@ send_dg(res_state statp,
|
||||
if (EXT(statp).nssocks[ns] < 0) {
|
||||
switch (errno) {
|
||||
case EPROTONOSUPPORT:
|
||||
#ifdef EPFNOSUPPORT
|
||||
case EPFNOSUPPORT:
|
||||
#endif
|
||||
case EAFNOSUPPORT:
|
||||
Perror(statp, stderr, "socket(dg)", errno);
|
||||
return (0);
|
||||
|
||||
Reference in New Issue
Block a user