Skip to content

Commit

Permalink
posix_resolv_gai.c: add AI_NUMERICSERV where undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 authored and gdamore committed Apr 20, 2023
1 parent 0062eb8 commit 085d9a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/platform/posix/posix_resolv_gai.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
#define NNG_RESOLV_CONCURRENCY 4
#endif

#ifndef AI_NUMERICSERV
#define AI_NUMERICSERV 0
#endif

static nni_mtx resolv_mtx = NNI_MTX_INITIALIZER;
static nni_cv resolv_cv = NNI_CV_INITIALIZER(&resolv_mtx);
static bool resolv_fini = false;
Expand Down

0 comments on commit 085d9a5

Please sign in to comment.