Minimal changes to compile T3D on WIN64.

This commit is contained in:
LuisAntonRebollo 2014-09-14 21:39:56 +02:00
parent a93f179138
commit 8ed0f508ca
13 changed files with 161 additions and 18 deletions

View file

@ -476,8 +476,8 @@ void Profiler::hashPop(ProfilerRootData *expected)
else
{
Con::warnf("Warning: the Torque profiler thread may now run on any cpu.");
DWORD procMask;
DWORD sysMask;
DWORD_PTR procMask;
DWORD_PTR sysMask;
GetProcessAffinityMask( GetCurrentProcess(), &procMask, &sysMask);
SetThreadAffinityMask( GetCurrentThread(), procMask);
}