Support older getaddrinfo() missing AI_NUMERICSERV

Define this flag as 0 if unavailable.
This is needed for my OS X 10.5 system.

Signed-off-by: John Hood <cgull@glup.org>
This commit is contained in:
John Hood
2015-06-13 01:55:07 -04:00
parent a2a34ef57f
commit 310b899a23
+4
View File
@@ -55,6 +55,10 @@
#define MSG_DONTWAIT MSG_NONBLOCK
#endif
#ifndef AI_NUMERICSERV
#define AI_NUMERICSERV 0
#endif
using namespace std;
using namespace Network;
using namespace Crypto;