www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20141] New: No builtin version which says if the platform is

https://issues.dlang.org/show_bug.cgi?id=20141

          Issue ID: 20141
           Summary: No builtin version which says if the platform is 64bit
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

There is D_LP64, but that only says if pointers are 64bit. So, what about x32?
Also, many games consoles have 64bit arch, but use 32bit pointers because they
are more compact and the machines have a fixed amount of RAM.

There needs to be a version that says the architecture is 64bit.

--
Aug 18 2019