Commit 20d9bade authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

configure: Use 0 instead of NULL because NULL isn't defined.

parent ffd78b15
...@@ -17686,13 +17686,13 @@ int ...@@ -17686,13 +17686,13 @@ int
main () main ()
{ {
char *name=NULL; char *name=0;
struct hostent he; struct hostent he;
struct hostent *result; struct hostent *result;
char *buf=NULL; char *buf=0;
int bufsize=0; int bufsize=0;
int res,errnr; int res,errnr;
char *addr=NULL; char *addr=0;
int addrlen=0; int addrlen=0;
int addrtype=0; int addrtype=0;
res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr); res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
......
...@@ -1363,13 +1363,13 @@ fi ...@@ -1363,13 +1363,13 @@ fi
AC_CACHE_CHECK([whether we can use re-entrant gethostbyname_r Linux style], AC_CACHE_CHECK([whether we can use re-entrant gethostbyname_r Linux style],
wine_cv_linux_gethostbyname_r_6, wine_cv_linux_gethostbyname_r_6,
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <netdb.h>]],[[ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <netdb.h>]],[[
char *name=NULL; char *name=0;
struct hostent he; struct hostent he;
struct hostent *result; struct hostent *result;
char *buf=NULL; char *buf=0;
int bufsize=0; int bufsize=0;
int res,errnr; int res,errnr;
char *addr=NULL; char *addr=0;
int addrlen=0; int addrlen=0;
int addrtype=0; int addrtype=0;
res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr); res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
......
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