diff options
author | Jan Kotas <jkotas@microsoft.com> | 2019-04-23 20:21:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-23 20:21:09 -0700 |
commit | 3f21a0f6cc8e0036ad536c791d7877a35d22cd01 (patch) | |
tree | 5559f98a8041e8a7cc23ef4241489e4124c65ba4 /src/gc/sample | |
parent | 22c467297d0d537c2e647ec5c5b4256ab42b18bb (diff) | |
download | coreclr-3f21a0f6cc8e0036ad536c791d7877a35d22cd01.tar.gz coreclr-3f21a0f6cc8e0036ad536c791d7877a35d22cd01.tar.bz2 coreclr-3f21a0f6cc8e0036ad536c791d7877a35d22cd01.zip |
Delete unnecessary static and update GCSample to VS2019 (#24204)
Diffstat (limited to 'src/gc/sample')
-rw-r--r-- | src/gc/sample/GCSample.vcxproj | 6 | ||||
-rw-r--r-- | src/gc/sample/gcenv.ee.cpp | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/gc/sample/GCSample.vcxproj b/src/gc/sample/GCSample.vcxproj index de161647d1..98dadcad54 100644 --- a/src/gc/sample/GCSample.vcxproj +++ b/src/gc/sample/GCSample.vcxproj @@ -14,19 +14,19 @@ <ProjectGuid>{58D6B7AE-0A12-49F0-BCF7-200ED8BA445A}</ProjectGuid> <Keyword>Win32Proj</Keyword> <RootNamespace>GCSample</RootNamespace> - <WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion> + <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> + <PlatformToolset>v142</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> diff --git a/src/gc/sample/gcenv.ee.cpp b/src/gc/sample/gcenv.ee.cpp index 687fd5624b..abf6e09c2c 100644 --- a/src/gc/sample/gcenv.ee.cpp +++ b/src/gc/sample/gcenv.ee.cpp @@ -13,8 +13,6 @@ MethodTable * g_pFreeObjectMethodTable; EEConfig * g_pConfig; -gc_alloc_context g_global_alloc_context; - bool CLREventStatic::CreateManualEventNoThrow(bool bInitialState) { m_hEvent = CreateEventW(NULL, TRUE, bInitialState, NULL); |