diff --git a/configure b/configure index 86adc794d47..9592bec933e 100755 --- a/configure +++ b/configure @@ -17686,13 +17686,13 @@ int main () { - char *name=NULL; + char *name=0; struct hostent he; struct hostent *result; - char *buf=NULL; + char *buf=0; int bufsize=0; int res,errnr; - char *addr=NULL; + char *addr=0; int addrlen=0; int addrtype=0; res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr); diff --git a/configure.ac b/configure.ac index 55c65624698..586321e40c4 100644 --- a/configure.ac +++ b/configure.ac @@ -1363,13 +1363,13 @@ fi AC_CACHE_CHECK([whether we can use re-entrant gethostbyname_r Linux style], wine_cv_linux_gethostbyname_r_6, AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]],[[ - char *name=NULL; + char *name=0; struct hostent he; struct hostent *result; - char *buf=NULL; + char *buf=0; int bufsize=0; int res,errnr; - char *addr=NULL; + char *addr=0; int addrlen=0; int addrtype=0; res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);