This last patch adds support for Mac OS X environ.
Thanks :)
Pierre
Modified files: memory/environ.c, scheduler/process.c
ChangeLog: Add support for Mac OS X's environ
Index: memory/environ.c =================================================================== RCS file: /home/wine/wine/memory/environ.c,v retrieving revision 1.39 diff -u -r1.39 environ.c --- memory/environ.c 23 Jan 2003 23:07:39 -0000 1.39 +++ memory/environ.c 3 May 2003 19:20:02 -0000 @@ -24,6 +24,11 @@ #include <stdlib.h> #include <string.h> +#ifdef __darwin__ +# include <crt_externs.h> +# define environ (*_NSGetEnviron()) +#endif + #include "windef.h" #include "winerror.h" Index: scheduler/process.c =================================================================== RCS file: /home/wine/wine/scheduler/process.c,v retrieving revision 1.213 diff -u -r1.213 process.c --- scheduler/process.c 27 Apr 2003 00:47:58 -0000 1.213 +++ scheduler/process.c 3 May 2003 19:20:09 -0000 @@ -32,6 +32,11 @@ #ifdef HAVE_UNISTD_H # include <unistd.h> #endif +#ifdef __darwin__ +# include <crt_externs.h> +# define environ (*_NSGetEnviron()) +#endif + #include "wine/winbase16.h" #include "wine/winuser16.h" #include "wine/exception.h"