diff options
author | dotnet-bot <dotnet-bot@microsoft.com> | 2017-01-14 03:22:29 +0300 |
---|---|---|
committer | dotnet-bot <dotnet-bot@microsoft.com> | 2017-01-14 03:22:29 +0300 |
commit | 7eee7431ece5603b201f2c9c1ac5b64a58ca4834 (patch) | |
tree | 8189911e13fdb66e65dc46264a76d5cfa69938ba | |
parent | e5678962aab23ce6bac2ba53185781c4467904be (diff) |
Repair a build break by only defining ProfilingScanContext when DACCESS_COMPILE is not defined.
[tfs-changeset: 1644487]
-rw-r--r-- | src/Native/Runtime/gcrhenv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Native/Runtime/gcrhenv.cpp b/src/Native/Runtime/gcrhenv.cpp index c60f09f0a..2dfb7fcf1 100644 --- a/src/Native/Runtime/gcrhenv.cpp +++ b/src/Native/Runtime/gcrhenv.cpp @@ -1597,7 +1597,7 @@ void CPUGroupInfo::GetGroupForProcessor(uint16_t /*processor_number*/, uint16_t ASSERT_UNCONDITIONALLY("NYI: CPUGroupInfo::GetGroupForProcessor"); } -#ifdef FEATURE_EVENT_TRACE +#if defined(FEATURE_EVENT_TRACE) && !defined(DACCESS_COMPILE) ProfilingScanContext::ProfilingScanContext(BOOL fProfilerPinnedParam) : ScanContext() { @@ -1609,4 +1609,4 @@ ProfilingScanContext::ProfilingScanContext(BOOL fProfilerPinnedParam) promotion = g_pConfig->GetGCConservative(); #endif } -#endif // FEATURE_EVENT_TRACE +#endif // defined(FEATURE_EVENT_TRACE) && !defined(DACCESS_COMPILE) |