Skip to content

Commit

Permalink
Fix for missing AI_NUMERICSERV on < 10.6
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Apr 22, 2024
1 parent dc8807e commit e9366b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ixwebsocket/IXDNSLookup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
#endif
#endif

#ifdef __APPLE__
#ifndef AI_NUMERICSERV
#define AI_NUMERICSERV 0
#endif
#endif

namespace ix
{
const int64_t DNSLookup::kDefaultWait = 1; // ms
Expand Down

0 comments on commit e9366b0

Please sign in to comment.