mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Use the new HAVE_NI_WITHSCOPEID define instead of merely checking for the
existance of NI_WITHSCOPEID since some platforms have that define but still can't function with it set.
This commit is contained in:
parent
13a6f85320
commit
5804c995e1
@ -105,7 +105,7 @@
|
||||
#include "memdebug.h"
|
||||
#endif
|
||||
|
||||
#ifdef NI_WITHSCOPEID
|
||||
#ifdef HAVE_NI_WITHSCOPEID
|
||||
#define NIFLAGS NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID
|
||||
#else
|
||||
#define NIFLAGS NI_NUMERICHOST | NI_NUMERICSERV
|
||||
|
Loading…
Reference in New Issue
Block a user