NULL vs 0 vs 0L bikeshed time

Marcel Moolenaar marcel at xcllnt.net
Mon Mar 1 08:19:42 PST 2004


On Mon, Mar 01, 2004 at 03:21:45PM +0100, Erik Trulsson wrote:
> 
> On a related note, is there some particular reason for having the C++
> definition depend on __LP64__ or could one not just as well define NULL
> as (0L) all the time there?
> (I.e. is there any platform FreeBSD runs on that have 32-bit longs and
> 64-bit pointers, or does all of them have pointers and long being the
> same size?)

On i386, we can compile IP32L64.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel at xcllnt.net


More information about the freebsd-current mailing list