refactored platform precompiler variable: TORQUE_OS_WIN{32,64,}

This commit is contained in:
Thomas Fischer 2014-03-15 15:10:14 +01:00
parent 47a2cc165a
commit 6d8e0d7e25
31 changed files with 48 additions and 42 deletions

View file

@ -22,7 +22,7 @@
#include "platform/platform.h"
#if defined(TORQUE_OS_WIN32)
#if defined(TORQUE_OS_WIN)
#include<Windows.h> // for SetThreadAffinityMask
#endif
@ -462,7 +462,7 @@ void Profiler::hashPop(ProfilerRootData *expected)
if(!mEnabled && mNextEnable)
startHighResolutionTimer(mCurrentProfilerData->mStartTime);
#if defined(TORQUE_OS_WIN32)
#if defined(TORQUE_OS_WIN)
// The high performance counters under win32 are unreliable when running on multiple
// processors. When the profiler is enabled, we restrict Torque to a single processor.
if(mNextEnable != mEnabled)