Support -mconsole.

This commit is contained in:
Richard Cohen 2003-08-20 04:15:02 +00:00 committed by Alexandre Julliard
parent 4936ce6dfa
commit 1406d20326
1 changed files with 4 additions and 0 deletions

View File

@ -176,6 +176,8 @@ int main(int argc, char **argv)
use_msvcrt = 1; use_msvcrt = 1;
else if (strcmp("-mwindows", argv[i]) == 0) else if (strcmp("-mwindows", argv[i]) == 0)
gui_app = 1; gui_app = 1;
else if (strcmp("-mconsole", argv[i]) == 0)
gui_app = 0;
break; break;
case 'n': case 'n':
if (strcmp("-nostdinc", argv[i]) == 0) if (strcmp("-nostdinc", argv[i]) == 0)
@ -322,6 +324,8 @@ int main(int argc, char **argv)
; /* ignore this option */ ; /* ignore this option */
else if (strcmp("-mwindows", argv[j]) == 0) else if (strcmp("-mwindows", argv[j]) == 0)
; /* ignore this option */ ; /* ignore this option */
else if (strcmp("-mconsole", argv[j]) == 0)
; /* ignore this option */
else if (strcmp("-mthreads", argv[j]) == 0) else if (strcmp("-mthreads", argv[j]) == 0)
; /* ignore this option */ ; /* ignore this option */
else if (strncmp("-Wl,", argv[j], 4) == 0) else if (strncmp("-Wl,", argv[j], 4) == 0)