[Mono-list] detecting mono or microsoft compiler with preprocessor
Peter Dennis Bartok
peter@novonyx.com
Fri, 3 Dec 2004 09:56:51 -0700
We use
#if __MonoCS__
using Mono.Unix;
#endif
In System.Windows.Forms to compile things only when mcs is used.
Cheers,
Peter
-----Original Message-----
From: "Fabien Meghazi" <amigrave@gmail.com>
To: "ML:Mono" <mono-list@lists.ximian.com>
Date: 03 December, 2004 09:46
Subject: [Mono-list] detecting mono or microsoft compiler with preprocessor
>Hi all,
>
>Is there a #define preprocessor definition that would allow to use
>"if" "else" preprocessor statements for conditionnal compiling for
>mono and microsoft compiler ?
>
>
>--
>Fabien Meghazi
>http://www.amigrave.com
>_______________________________________________
>Mono-list maillist - Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>