[Mono-list] Built-in Conditional Directives for various platforms #IF MONO, #IF WINDOWS_DOTNET, #IF MACOSX ?

Buttink Buttink at gmail.com
Sat Apr 3 12:33:35 EDT 2010


I don't think its built in but why do you need them? Is there a problem
compiling on mono verses .net? If you wanted to have platform dependent
logic you could just use System.Environment.OSVersion.Platform == whatever
you want.
http://msdn.microsoft.com/en-us/library/system.environment.osversion(v=VS.90).aspx
has more info on it.
-- 
View this message in context: http://n4.nabble.com/Built-in-Conditional-Directives-for-various-platforms-IF-MONO-IF-WINDOWS-DOTNET-IF-MACOSX-tp1749998p1750246.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list