Could we get a LP64 version identifier?

Jacob Carlborg doobnet at gmail.com
Sun Jan 25 06:45:46 PST 2009


Denis Koroskin wrote:
> On Sun, 25 Jan 2009 15:32:33 +0300, Jacob Carlborg <doobnet at gmail.com> 
> 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.
> 
> http://www.digitalmars.com/d/2.0/version.html
> 
> D_LP64    - Pointers are 64 bits
> 

It's also in D1: http://www.digitalmars.com/d/1.0/version.html



More information about the Digitalmars-d mailing list