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-05-02 20:02:11 +0300
committerJan Kotas <jkotas@microsoft.com>2016-05-02 20:02:11 +0300
commit3de9e755fb7584ca62eea6cbf3b15cf1db9eaeec (patch)
treedc4ea2a5789e94ea548e0f912ac60494f5fc2745 /src/Native/Runtime/portable.cpp
parent1ef86a77bfe91a336954a2c1b2dfe6a6c3d8c8e6 (diff)
Work on enabling GC on Windows (#1221)
Diffstat (limited to 'src/Native/Runtime/portable.cpp')
-rw-r--r--src/Native/Runtime/portable.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Native/Runtime/portable.cpp b/src/Native/Runtime/portable.cpp
index 7e78c6e90..077af8423 100644
--- a/src/Native/Runtime/portable.cpp
+++ b/src/Native/Runtime/portable.cpp
@@ -73,6 +73,7 @@ COOP_PINVOKE_HELPER(void, RhpReversePInvokeReturn, (ReversePInvokeFrame* pFrame)
pFrame->m_savedThread->ReversePInvokeReturn(pFrame);
}
+#if defined(USE_PORTABLE_HELPERS) || !defined(_WIN32)
//
// Allocations
//
@@ -195,6 +196,7 @@ COOP_PINVOKE_HELPER(Array *, RhpNewArray, (EEType * pArrayEEType, int numElement
return pObject;
}
+#endif // USE_PORTABLE_HELPERS || !_WIN32
COOP_PINVOKE_HELPER(MDArray *, RhNewMDArray, (EEType * pArrayEEType, UInt32 rank, ...))
{