Alexandre Goujon wrote:
tools/winegcc/winegcc.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index c2e7876..a929214 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -555,6 +555,10 @@ static const char *mingw_unicode_hack( struct options *opts ) { char *main_stub = get_temp_file( opts->output_name, ".c" );
- /* we need to link with msvcrt because of __wargv */
- if (!opts->use_msvcrt)
- opts->use_msvcrt = 1;
- create_file( main_stub, 0644, "#include <stdlib.h>\n" "extern int wmain(int,wchar_t**);\n"
Please use [try 2] for any second send. Keeps things in order and lets others know that you have responded to errors. Also, put comments in the same message as the patch they apply to at the top of the message.
Thank you.
James McKenzie