summaryrefslogtreecommitdiff
path: root/lib/memdebug.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-06-27 08:20:28 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-06-27 13:49:18 +0200
commit0aeca41702d2a70f7d253451781fe52398aab257 (patch)
treed9457de98f62e2b30ff6b3353bb2a6287f0f6d80 /lib/memdebug.h
parent3ef67c6861c9d6236a4339d3446a444767598a58 (diff)
downloadcurl-0aeca41702d2a70f7d253451781fe52398aab257.tar.gz
getnameinfo: not used
Closes #2687
Diffstat (limited to 'lib/memdebug.h')
-rw-r--r--lib/memdebug.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/memdebug.h b/lib/memdebug.h
index 6fb8b6851..233de65a4 100644
--- a/lib/memdebug.h
+++ b/lib/memdebug.h
@@ -8,7 +8,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -137,13 +137,6 @@ CURL_EXTERN int curl_fclose(FILE *file, int line, const char *source);
#endif
#endif /* HAVE_GETADDRINFO */
-#ifdef HAVE_GETNAMEINFO
-#undef getnameinfo
-#define getnameinfo(sa,salen,host,hostlen,serv,servlen,flags) \
- curl_dogetnameinfo(sa, salen, host, hostlen, serv, servlen, flags, \
- __LINE__, __FILE__)
-#endif /* HAVE_GETNAMEINFO */
-
#ifdef HAVE_FREEADDRINFO
#undef freeaddrinfo
#define freeaddrinfo(data) \