Use __WIN64__ instead of MSVC-specific _WIN64 in wxIsPlatform64Bit().

Make the code work correctly for 64 bit builds with other compilers, e.g. gcc.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2014-05-12 13:14:14 +00:00
parent b186e411e2
commit dbbe0811c7

View File

@ -1360,7 +1360,7 @@ wxString wxGetOsDescription()
bool wxIsPlatform64Bit()
{
#if defined(_WIN64)
#if defined(__WIN64__)
return true; // 64-bit programs run only on Win64
#elif wxUSE_DYNLIB_CLASS // Win32
// 32-bit programs run on both 32-bit and 64-bit Windows so check