Commit bb765c37 authored by Timothy B. Terriberry's avatar Timothy B. Terriberry
Browse files

Broaden the test for AI_NUMERICSERV.

OS X 10.5.8 does not define AI_NUMIERCSERV either, so instead of
 trying to enumerate the platforms that don't, just test for the
 value itself.
Patch by Dave Evans at MacPorts.

Fixes #2172
parent 16d05a56
......@@ -721,7 +721,7 @@ static struct addrinfo *op_resolve(const char *_host,unsigned _port){
char service[6];
#if !defined(_WIN32)
#if defined(AI_NUMERICSERV)
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