Win64 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -902,7 +902,7 @@ bool wxThread::SetConcurrency(size_t level)
|
||||
|
||||
// get system affinity mask first
|
||||
HANDLE hProcess = ::GetCurrentProcess();
|
||||
DWORD dwProcMask, dwSysMask;
|
||||
DWORD_PTR dwProcMask, dwSysMask;
|
||||
if ( ::GetProcessAffinityMask(hProcess, &dwProcMask, &dwSysMask) == 0 )
|
||||
{
|
||||
wxLogLastError(_T("GetProcessAffinityMask"));
|
||||
@@ -983,7 +983,8 @@ bool wxThread::SetConcurrency(size_t level)
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
#endif // !__WXWINCE__
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user