From dbbe0811c7e93792cc242429fbd7bae18e3449f8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 12 May 2014 13:14:14 +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/trunk@76499 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 4915e10a7d..6a5ea752d8 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