versions and 32 vs 64-bit code

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Dec 26 05:23:41 PST 2011


On 12/26/11, Alex Rønne Petersen <xtzgzorex at gmail.com> wrote:
> Use:
>
> version (D_LP64)
> {
>      // 64-bit ...
> }
> else
> {
>      // 32-bit ...
> }

So why doesn't D_LP32 exist? If you already use "version(X86) else
version(X86_64)" you're going to have to swap all of your code around
if you start using D_LP64..


More information about the Digitalmars-d mailing list