aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-31 21:33:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-31 21:33:52 +0000
commit5804c995e1f72ec7013ddb69b9f5a42d8db25141 (patch)
treea755fc76f0d0d482f2a417235456befe9834473f /lib/ftp.c
parent13a6f85320e8e288a8d962e86d4f1f3f90b0d36e (diff)
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.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index a8923c0cf..6df8f22c6 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -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