Ken Thomases : configure: Use 0 instead of NULL because NULL isn't defined.
Alexandre Julliard
julliard at winehq.org
Mon Oct 22 09:55:16 CDT 2007
Module: wine
Branch: master
Commit: 20d9bade16ec32ebd308fd1264865d9ff4ac520e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=20d9bade16ec32ebd308fd1264865d9ff4ac520e
Author: Ken Thomases <ken at codeweavers.com>
Date: Fri Oct 19 16:18:51 2007 -0500
configure: Use 0 instead of NULL because NULL isn't defined.
---
configure | 6 +++---
configure.ac | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/configure b/configure
index 86adc79..9592bec 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 55c6562..586321e 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 <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);
More information about the wine-cvs
mailing list