[Mono-list] Built-in Conditional Directives for various platforms #IF MONO, #IF WINDOWS_DOTNET, #IF MACOSX ?
cimodev
cimodev at googlemail.com
Sat Apr 3 12:36:17 EDT 2010
Hi Buttink
Buttink wrote:
> I don't think its built in but why do you need them? Is there a problem
> compiling on mono verses .net?
No!
On Windows, i have to write "using System.Data.SQlite", and on
MONO-based Systems i write "using Mono.Data.Sqlite".
So, its not enough to check the platform within running code, but while
compile-time for using-declaratives.
Kind regards, cimodev
More information about the Mono-list
mailing list