From eb46b44662f574ec5ee247f0ad0af6d44a671740 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 12 May 2014 13:15:52 +0000 Subject: [PATCH] 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/branches/WX_3_0_BRANCH@76510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 49b39e5cc3..a6032b706d 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -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