Should I define both _WIN32 and _WIN64 in 64bit build?

后端 未结 4 1066
不思量自难忘°
不思量自难忘° 2020-12-14 01:35

When we add a 64bit configuration from a 32bit project that has already existed, Visual Studio copies the 32bit configurations by default. VS even copies _WIN32

4条回答
  •  不知归路
    2020-12-14 01:45

    You should never define either of them.

    The toolchain (compiler + system headers) will define them as appropriate.

提交回复
热议问题