diff options
author | Gaurav Khanna <gkhanna@microsoft.com> | 2015-11-24 03:40:36 +0300 |
---|---|---|
committer | Gaurav Khanna <gkhanna@microsoft.com> | 2015-11-24 07:09:04 +0300 |
commit | 2057a88c33bf63774b258ec2e2eb1c012a564f90 (patch) | |
tree | 69195ec988e9337eca4c2f2047ac5b5e9b8cfb84 /src/ILCompiler | |
parent | 35efe21e30d861ef53220b4639b264a844f98edb (diff) |
[Mac] Fixes to support HelloWorld using CPPCodegen
Diffstat (limited to 'src/ILCompiler')
-rw-r--r-- | src/ILCompiler/src/Program.cs | 2 |
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 |