Commit 003c1216 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

standard: Special case for AI_NUMERICSERV (if not defined).

parent a8f72d05
......@@ -394,7 +394,10 @@ static int Open( vlc_object_t *p_this )
.ai_family = AF_UNSPEC,
.ai_socktype = SOCK_DGRAM,
.ai_protocol = 0,
.ai_flags = AI_NUMERICHOST | AI_NUMERICSERV
.ai_flags = AI_NUMERICHOST
#ifdef AI_NUMERICSERV
| AI_NUMERICSERV
#endif
};
char *shost = var_GetNonEmptyString (p_access, "src-addr");
char *dhost = var_GetNonEmptyString (p_access, "dst-addr");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment