www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Predefined Versions : Windows and Win32

reply Mike James <foo bar.com> writes:
In the predefined versions there are Windows and Win32 version identifiers -
what are the differences and are they interchangable?

Regards, Mike.
Oct 31 2008
parent reply Elrood <arno nym.net> writes:
	  Win32
	/
Windows
	\
	  Win64

Since there is no Win64 version for DMD (and this probably will not
change for quite some time) version(Windows) and version(Win32) are
pretty much interchangable. Unless your code is win32-specific, you
should nonetheless use version(Windows) to be future-proof, for
alternative compilers such as LDC and GDC, which will probably support
64bit Windows sooner than DMD, and just generally to do it right.
Oct 31 2008
parent Mike James <foo bar.com> writes:
Elrood Wrote:

 	  Win32
 	/
 Windows
 	\
 	  Win64
 
 Since there is no Win64 version for DMD (and this probably will not
 change for quite some time) version(Windows) and version(Win32) are
 pretty much interchangable. Unless your code is win32-specific, you
 should nonetheless use version(Windows) to be future-proof, for
 alternative compilers such as LDC and GDC, which will probably support
 64bit Windows sooner than DMD, and just generally to do it right.
Thanks, I'll do that. Regards, Mike.
Oct 31 2008