diff options
-rw-r--r-- | Prebuild/src/Core/Parse/Preprocessor.cs | 5 | ||||
-rwxr-xr-x | bin/Prebuild.exe | bin | 160768 -> 160768 bytes |
2 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 |
diff --git a/bin/Prebuild.exe b/bin/Prebuild.exe index fce82b9..c4bfd4d 100755 --- a/bin/Prebuild.exe +++ b/bin/Prebuild.exe | |||
Binary files differ | |||