Best way to confine project to 64 bit builds only?

NonNull non-null at
Sat Oct 17 14:50:47 UTC 2020

I have inherited an open source C project that assumes that the 
size of a long and the size of a pointer are the same, and I have 
translated it into very similar D just like

D has the size of long fixed at 64 bits, so a pointer now has to 
be 64 bits. So I want to put something into the source to ensure 
an attempt to make a 32 bit build fails. What is the best way to 
do this?

More information about the Digitalmars-d-learn mailing list