[Mono-dev] Re: r58871 - trunk/mono/mono/metadata

Paolo Molaro lupus at ximian.com
Thu Apr 13 11:52:54 EDT 2006


On 04/13/06 Jonathan S. Chambers wrote:
> Here is a patch to allow compilation in VS. I just define
> setenv/unsetenv if compiling under VS. It proved to be less work than
> upgrading glib for the VS compile.

Please simply change in icall.c inside a #ifdef PLATFORM_WIN32 in the
affected icalls, using the glib stuff only on non-windows.
While you're at it, please also fix the design of the icall: add the
third target argument and change the 2-argument version in
Environment.cs to forward to the 3-arg version with
EnvironmentVariableTarget.Process as target (you need to move also the
arg-checking code).
Thanks.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list