mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08: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