]> git.sesse.net Git - vlc/blobdiff - src/misc/httpd.c
- Simplify check for getnameinfo
[vlc] / src / misc / httpd.c
index 3a45f810a0d120ca75b17ce2b8daeaf2dd2ef537..fb15d64ad4bd0711159e0fd51cb94849e638dd81 100644 (file)
@@ -879,15 +879,6 @@ void httpd_StreamDelete( httpd_stream_t *stream )
  *****************************************************************************/
 #define LISTEN_BACKLOG          100
 
-#if defined(HAVE_GETNAMEINFO) && !defined(HAVE_GETADDRINFO)
-/* 
- * For now, VLC's configure script does not check for getaddrinfo(),
- * but it should be present if getnameinfo() is (the opposite is untrue, with
- * Debian potato as an example)
- */
-# define HAVE_GETADDRINFO 1
-#endif
-
 static void httpd_HostThread( httpd_host_t * );
 static int GetAddrPort( const struct sockaddr_storage *p_ss );