Where's _WIN64 defined in C++/CLI project compiled as x64?

Anzurio picture Anzurio · May 31, 2009 · Viewed 7.2k times · Source

It seems to be added automagically in every project I create and I compile for x64 but it doesn't even appear in the project's Configuration Properties/(C/C++)/Preprocessor when selecting the x64 configuration.

Answer

M. Dudley picture M. Dudley · May 31, 2009

_WIN64 is automatically defined by Visual Studio. See the list of Predefined Macros.