Backported MACOSX OS identifier into Prebuild.

0.6.0-stable
Jeff Ames 2008-02-27 05:22:47 +00:00
parent 8d31fc2cd0
commit 28a07ed2e8
2 changed files with 5 additions and 0 deletions

View File

@ -138,6 +138,11 @@ namespace Prebuild.Core.Parse
return "Win32";
}
if (File.Exists("/System/Library/Frameworks/Cocoa.framework/Cocoa"))
{
return "MACOSX";
}
/*
* .NET 1.x, under Mono, the UNIX code is 128. Under
* .NET 2.x, Mono or MS, the UNIX code is 4

Binary file not shown.