aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/src
diff options
context:
space:
mode:
Diffstat (limited to 'Prebuild/src')
-rw-r--r--Prebuild/src/Core/Parse/Preprocessor.cs5
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