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

This commit is contained in:
Ken Thomases 2007-10-19 16:18:51 -05:00 committed by Alexandre Julliard
parent ffd78b153b
commit 20d9bade16
2 changed files with 6 additions and 6 deletions

6
configure vendored
View File

@ -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);

View File

@ -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 <netdb.h>]],[[
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);