Define __WIN64__ for 64 bit wxMSW builds with gcc too.
Previously __WIN64__ was only defined for 64 bit builds with MSVC, which resulted in many problems when using 64 bit Cygwin compiler. Also don't use MSVC-specific __int64 but our wxInt64 for WX{L,W}PARAM and WXLRESULT definitions in 64 bit builds. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3250,9 +3250,9 @@ typedef WXHWND WXWidget;
|
||||
#endif
|
||||
|
||||
#ifdef __WIN64__
|
||||
typedef unsigned __int64 WXWPARAM;
|
||||
typedef __int64 WXLPARAM;
|
||||
typedef __int64 WXLRESULT;
|
||||
typedef wxUint64 WXWPARAM;
|
||||
typedef wxInt64 WXLPARAM;
|
||||
typedef wxInt64 WXLRESULT;
|
||||
#else
|
||||
typedef wxW64 unsigned int WXWPARAM;
|
||||
typedef wxW64 long WXLPARAM;
|
||||
|
Reference in New Issue
Block a user