diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,9 @@ 2005-06-25 Not Zed <NotZed@Ximian.com> + * configure.in: remove need to define NULL in getaddrinfo check. + +2005-06-25 Not Zed <NotZed@Ximian.com> + * configure.in: move prefer-plain and save-attachments to experimental where they belong. diff --git a/configure.in b/configure.in index e4c3fff76f..79e60e0648 100644 --- a/configure.in +++ b/configure.in @@ -455,8 +455,8 @@ AC_CACHE_CHECK([if system supports getaddrinfo and getnameinfo], have_addrinfo, char host[NI_MAXHOST]; char serv[NI_MAXSERV]; - getaddrinfo ("www.ximian.com", NULL, &hints, &res); - freeaddrinfo (res); + getaddrinfo("www.ximian.com", 0, &hints, &res); + freeaddrinfo(res); getnameinfo((struct sockaddr *)&sin6, sizeof(sin6), host, sizeof(host), serv, sizeof(serv), 0); ],[ have_addrinfo=yes |