From a4cad5d4d3a7bbb9fa98b8aa3dc8167328065ea7 Mon Sep 17 00:00:00 2001 From: Aaron Robinson Date: Fri, 15 Feb 2019 21:28:50 -0800 Subject: [PATCH] Set the 'PLATFORM_OSX' constant during OSX build (#22639) * Set the 'PLATFORM_OSX' constant during OSX build * Remove PLATFORM_OSX define from SPCL --- clr.defines.targets | 1 + src/System.Private.CoreLib/System.Private.CoreLib.csproj | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/clr.defines.targets b/clr.defines.targets index 81ee899..7a81fd8 100644 --- a/clr.defines.targets +++ b/clr.defines.targets @@ -30,5 +30,6 @@ $(DefineConstants);PLATFORM_UNIX $(DefineConstants);PLATFORM_WINDOWS + $(DefineConstants);PLATFORM_OSX diff --git a/src/System.Private.CoreLib/System.Private.CoreLib.csproj b/src/System.Private.CoreLib/System.Private.CoreLib.csproj index a4c2a44..3719202 100644 --- a/src/System.Private.CoreLib/System.Private.CoreLib.csproj +++ b/src/System.Private.CoreLib/System.Private.CoreLib.csproj @@ -83,9 +83,6 @@ portable - - PLATFORM_OSX;$(DefineConstants) - System.Private.CoreLib -- 2.7.4