Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-02-28 07:49:50 +0300
committerJan Kotas <jkotas@microsoft.com>2016-02-28 07:49:50 +0300
commit52eecdae0b94a908dd6aec69156621ade93157e8 (patch)
treea11b2a19185f73fb7cd658fa5e03c3f79271e6df /src/Native/Runtime/windows
parent0e3dc52452686fce73a54340cb66bf7d5b89e0c4 (diff)
Fix infinite recursion in GetCurrentProcessorNumber
Diffstat (limited to 'src/Native/Runtime/windows')
-rw-r--r--src/Native/Runtime/windows/PalRedhawkMinWin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Native/Runtime/windows/PalRedhawkMinWin.cpp b/src/Native/Runtime/windows/PalRedhawkMinWin.cpp
index a8285173c..c1b1bce20 100644
--- a/src/Native/Runtime/windows/PalRedhawkMinWin.cpp
+++ b/src/Native/Runtime/windows/PalRedhawkMinWin.cpp
@@ -1371,7 +1371,7 @@ bool GCToOSInterface::SetCurrentThreadIdealAffinity(GCThreadAffinity* affinity)
uint32_t GCToOSInterface::GetCurrentProcessorNumber()
{
_ASSERTE(GCToOSInterface::CanGetCurrentProcessorNumber());
- return GetCurrentProcessorNumber();
+ return ::GetCurrentProcessorNumber();
}
// Check if the OS supports getting current processor number