From 1406d20326d8a4e4704b9e538913a81ada593943 Mon Sep 17 00:00:00 2001 From: Richard Cohen Date: Wed, 20 Aug 2003 04:15:02 +0000 Subject: [PATCH] Support -mconsole. --- tools/winegcc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/winegcc.c b/tools/winegcc.c index 6ecda757c5a..bdbae8dd5be 100644 --- a/tools/winegcc.c +++ b/tools/winegcc.c @@ -176,6 +176,8 @@ int main(int argc, char **argv) use_msvcrt = 1; else if (strcmp("-mwindows", argv[i]) == 0) gui_app = 1; + else if (strcmp("-mconsole", argv[i]) == 0) + gui_app = 0; break; case 'n': if (strcmp("-nostdinc", argv[i]) == 0) @@ -322,6 +324,8 @@ int main(int argc, char **argv) ; /* ignore this option */ else if (strcmp("-mwindows", argv[j]) == 0) ; /* ignore this option */ + else if (strcmp("-mconsole", argv[j]) == 0) + ; /* ignore this option */ else if (strcmp("-mthreads", argv[j]) == 0) ; /* ignore this option */ else if (strncmp("-Wl,", argv[j], 4) == 0)