Skip to content

Commit

Permalink
Merge pull request #1186 from AArnott/spanBuiltinFix
Browse files Browse the repository at this point in the history
Define SPAN_BUILTIN for net5.0
  • Loading branch information
AArnott committed Feb 15, 2021
2 parents 8e869d9 + b9e9b60 commit de6a6d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MessagePack/MessagePack.csproj
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>netstandard2.0;netcoreapp2.1;net5.0</TargetFrameworks>
<NoWarn>$(NoWarn);CS0649</NoWarn>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DefineConstants Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">$(DefineConstants);SPAN_BUILTIN</DefineConstants>
<DefineConstants Condition=" '$(TargetFramework)' == 'netcoreapp2.1' or '$(TargetFramework)' == 'net5.0' ">$(DefineConstants);SPAN_BUILTIN</DefineConstants>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<LangVersion>8.0</LangVersion>

Expand Down

0 comments on commit de6a6d3

Please sign in to comment.