[PATCH 3/3] configure: Use 0 instead of NULL because NULL isn't defined.
ken at codeweavers.com
Fri Oct 19 17:36:13 CDT 2007
On Oct 19, 2007, at 5:24 PM, Stefan Dösinger wrote:
> Am Freitag, 19. Oktober 2007 23:18:51 schrieb Ken Thomases:
>> This makes the test test the proper thing on Mac OS X. It still
>> fails, but
>> for a good reason.
>> configure.ac | 6 +++---
>> 1 files changed, 3 insertions(+), 3 deletions(-)
>> - char *name=NULL;
>> + char *name=0;
> Shouldn't that be (void *) 0 or (char *) 0?
I don't think that's necessary. It compiled without warning here,
even with -Wall. Doesn't the C standard says that 0 casts to a
pointer naturally? Maybe that's C++.
More information about the wine-devel