Could we get a LP64 version identifier?

Walter Bright newshound1 at digitalmars.com
Sun Jan 25 11:32:56 PST 2009


Jacob Carlborg wrote:
> Could we get a LP64 version identifier? I know that you can use this code:
> 
> "static if ((void*).sizeof > int.sizeof)"
> 
> to do the same but that's not particular clear that the programmer wants 
> to check for LP64. If so, I hope we could get it in D1 also.

Yeah, I agree, and it's already in both for the next update. It'll be 
D_LP64.



More information about the Digitalmars-d mailing list