Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaurav Khanna <gkhanna@microsoft.com>2015-11-24 03:40:36 +0300
committerGaurav Khanna <gkhanna@microsoft.com>2015-11-24 07:09:04 +0300
commit2057a88c33bf63774b258ec2e2eb1c012a564f90 (patch)
tree69195ec988e9337eca4c2f2047ac5b5e9b8cfb84 /src/ILCompiler
parent35efe21e30d861ef53220b4639b264a844f98edb (diff)
[Mac] Fixes to support HelloWorld using CPPCodegen
Diffstat (limited to 'src/ILCompiler')
-rw-r--r--src/ILCompiler/src/Program.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ILCompiler/src/Program.cs b/src/ILCompiler/src/Program.cs
index ed65d7f88..39677bb18 100644
--- a/src/ILCompiler/src/Program.cs
+++ b/src/ILCompiler/src/Program.cs
@@ -164,6 +164,8 @@ namespace ILCompiler
targetOS = TargetOS.Windows;
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
targetOS = TargetOS.Linux;
+ else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
+ targetOS = TargetOS.OSX;
else
throw new NotImplementedException();
#else