www.delorie.com/archives/browse.cgi | search |
> From: Jay K <jay DOT krell AT cornell DOT edu> > Date: Sun, 20 Sep 2009 06:15:48 +0000 > > What happens if you do: > > > > stddef.h, stdio.h, stdlib.h, etc.: > > #ifndef NULL > > #ifdef __cplusplus > > #define NULL 0 > > #else > > #define NULL ((void*)0) > > #endif > > #endif I don't think we want to modify the definition of NULL in our system headers. It's perfectly valid, and gobs of DJGPP programs use the current definition; we don't want to break them.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |