From: Tarek Mahmoud Sayed Date: Mon, 20 Mar 2017 23:19:48 +0000 (-0700) Subject: Fix MAC build (dotnet/coreclr#10328) X-Git-Tag: submit/tizen/20210909.063632~11030^2~7638 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6afccae7d8025c612966586d60b9cfb0bafed089;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Fix MAC build (dotnet/coreclr#10328) This is temporary fix to unblock the CI and coreclr building for MAC. this change should be reverted after having the proper fix for how we load ICU on MAC Commit migrated from https://github.com/dotnet/coreclr/commit/8fb9a5e2f77dbd88a6d6a564ff91f5f1d87e4b65 --- diff --git a/src/coreclr/src/mscorlib/System.Private.CoreLib.csproj b/src/coreclr/src/mscorlib/System.Private.CoreLib.csproj index 612b184..f79391d 100644 --- a/src/coreclr/src/mscorlib/System.Private.CoreLib.csproj +++ b/src/coreclr/src/mscorlib/System.Private.CoreLib.csproj @@ -570,7 +570,8 @@ - + + @@ -612,7 +613,7 @@ - + diff --git a/src/coreclr/src/mscorlib/src/System/Globalization/GlobalizationMode.OSX.cs b/src/coreclr/src/mscorlib/src/System/Globalization/GlobalizationMode.OSX.cs new file mode 100644 index 0000000..077ce18 --- /dev/null +++ b/src/coreclr/src/mscorlib/src/System/Globalization/GlobalizationMode.OSX.cs @@ -0,0 +1,12 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace System.Globalization +{ + internal sealed partial class GlobalizationMode + { + // private const string c_InvariantModeConfigSwitch = "System.Globalization.Invariant"; + internal static bool Invariant { get; } = false; + } +}