Remove usage of __w64 for recent MSVC versions

__w64 just increases warnings and errors since VS 2013 (according to
https://docs.microsoft.com/en-us/cpp/cpp/w64?view=msvc-160), so don't
use it any longer.

Closes https://github.com/wxWidgets/wxWidgets/pull/2455
This commit is contained in:
frederick-vs-ja
2021-08-04 01:48:06 +08:00
committed by Vadim Zeitlin
parent b9261597bf
commit aaa2dabf5d

View File

@@ -347,7 +347,7 @@ typedef wxUint32 wxDword;
each time we cast it to a pointer or a handle (which results in hundreds each time we cast it to a pointer or a handle (which results in hundreds
of warnings as Win32 API often passes pointers in them) of warnings as Win32 API often passes pointers in them)
*/ */
#ifdef __VISUALC__ #if defined(__VISUALC__) && (_MSC_VER < 1800)
#define wxW64 __w64 #define wxW64 __w64
#else #else
#define wxW64 #define wxW64