aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Core/Internal/PlatformApis.cs
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-04-11 20:55:44 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-06-14 12:52:05 -0700
commitec4359ddc1b905b12784babfcb4cebb3a1e67478 (patch)
treea0c8a896cd08e27d01fd7e168c46e3a077942827 /src/csharp/Grpc.Core/Internal/PlatformApis.cs
parente697b7dbc6ad97e570334fecd2dd1cccaa83aa1a (diff)
add support for CoreCLR
Diffstat (limited to 'src/csharp/Grpc.Core/Internal/PlatformApis.cs')
-rw-r--r--src/csharp/Grpc.Core/Internal/PlatformApis.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Core/Internal/PlatformApis.cs b/src/csharp/Grpc.Core/Internal/PlatformApis.cs
index 5d8c44b589..3331a1f9fa 100644
--- a/src/csharp/Grpc.Core/Internal/PlatformApis.cs
+++ b/src/csharp/Grpc.Core/Internal/PlatformApis.cs
@@ -53,7 +53,7 @@ namespace Grpc.Core.Internal
static PlatformApis()
{
-#if DNXCORE50
+#if DOTNET5_4
isLinux = RuntimeInformation.IsOSPlatform(OSPlatform.Linux);
isMacOSX = RuntimeInformation.IsOSPlatform(OSPlatform.OSX);
isWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows);