Predefined define for 64 bit environment?

77 views Asked by At

is there a predefined constant available in VS2010 that specifies code is compiled for Windows 64 bit? Currently I would check if a specific type has a length of 4 or 8 bits but I wonder if there is a more elegant way to find this out?

Thanks!

1

There are 1 answers

0
rhapsodyn On BEST ANSWER

Just more convenient (than comment) for readers:

http://msdn.microsoft.com/en-us/library/b0084kay.aspx