On 30-Oct-2003, A Rafael D Teixeira <[EMAIL PROTECTED]> wrote: > Here is a small twist, save it as Mono.Environment.cs and compile as a > library to use or as an executable to just test: > > ------- > // How can I tell dynamically what platform my code is running on? > // > // This is one possible approach, contributed by Aleksey Demakov > ([EMAIL PROTECTED]) > // And encapsulated by Rafael Teixeira ([EMAIL PROTECTED])
That code does the wrong thing when running under Rotor or DotGNU. -- Fergus Henderson <[EMAIL PROTECTED]> | "I have always known that the pursuit The University of Melbourne | of excellence is a lethal habit" WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp. _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
