diff options
author | Jeff Ames | 2008-02-27 05:22:47 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-27 05:22:47 +0000 |
commit | 28a07ed2e89e5b9e9d8a59c6446f3b6495019f1d (patch) | |
tree | 88dba4431347cb798fa30ff2eaa91d04f831a2e4 /Prebuild/src/Core | |
parent | require -loginuri on pCampBot (diff) | |
download | opensim-SC_OLD-28a07ed2e89e5b9e9d8a59c6446f3b6495019f1d.zip opensim-SC_OLD-28a07ed2e89e5b9e9d8a59c6446f3b6495019f1d.tar.gz opensim-SC_OLD-28a07ed2e89e5b9e9d8a59c6446f3b6495019f1d.tar.bz2 opensim-SC_OLD-28a07ed2e89e5b9e9d8a59c6446f3b6495019f1d.tar.xz |
Backported MACOSX OS identifier into Prebuild.
Diffstat (limited to 'Prebuild/src/Core')
-rw-r--r-- | Prebuild/src/Core/Parse/Preprocessor.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Prebuild/src/Core/Parse/Preprocessor.cs b/Prebuild/src/Core/Parse/Preprocessor.cs index c4e1e61..af21090 100644 --- a/Prebuild/src/Core/Parse/Preprocessor.cs +++ b/Prebuild/src/Core/Parse/Preprocessor.cs | |||
@@ -138,6 +138,11 @@ namespace Prebuild.Core.Parse | |||
138 | return "Win32"; | 138 | return "Win32"; |
139 | } | 139 | } |
140 | 140 | ||
141 | if (File.Exists("/System/Library/Frameworks/Cocoa.framework/Cocoa")) | ||
142 | { | ||
143 | return "MACOSX"; | ||
144 | } | ||
145 | |||
141 | /* | 146 | /* |
142 | * .NET 1.x, under Mono, the UNIX code is 128. Under | 147 | * .NET 1.x, under Mono, the UNIX code is 128. Under |
143 | * .NET 2.x, Mono or MS, the UNIX code is 4 | 148 | * .NET 2.x, Mono or MS, the UNIX code is 4 |