Support -mconsole.
This commit is contained in:
parent
4936ce6dfa
commit
1406d20326
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue