Could we get a LP64 version identifier?

Denis Koroskin 2korden at gmail.com
Sun Jan 25 06:20:48 PST 2009


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.

version (X86) {
  ...
} else {
  ...
}




More information about the Digitalmars-d mailing list