Commit c9db92fd authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Check for INADDR_NONE.

parent f001114a
......@@ -3,6 +3,7 @@
Use INADDR_NONE to get rid of a compiler warning.
* src/isc_udp.c (isc_mkudpaddress): Use INADDR_NONE instead of -1.
* src/isc_tcp.c (isc_mktcpaddress): Use INADDR_NONE instead of -1.
* configure.in: Check for INADDR_NONE.
2002-08-23 Per Cederqvist <ceder@ceder.dyndns.org>
......
......@@ -19,7 +19,7 @@ dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl Process this file with autoconf to produce a configure script.
AC_REVISION($Revision: 1.9 $)dnl
AC_REVISION($Revision: 1.10 $)dnl
AC_PREREQ(2.53)
AC_INIT(isc, 1.01)
AC_CONFIG_SRCDIR([src/isc_master.c])
......@@ -68,6 +68,9 @@ AM_PROG_CC_STDC
AC_HEADER_TIME
AC_C_CONST
AC_TYPE_SIZE_T
AC_CHECK_DECL([INADDR_NONE],,
AC_DEFINE([INADDR_NONE],[(-1)], [Error indicator for inet_addr]),
[#include <netinet/in.h>])
CMOD_C_ATTRIBUTE_UNUSED
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment