winegcc: make condition easier to read and look like the statement after the block
André Hentschel
nerv at dawncrow.de
Wed Mar 24 14:16:27 CDT 2010
---
tools/winegcc/winegcc.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index 396bcc8..a690754 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -441,8 +441,7 @@ no_compat_defines:
{
if (opts->use_msvcrt)
{
- if (gcc_defs) strarray_add(comp_args, "-isystem" INCLUDEDIR "/msvcrt");
- else strarray_add(comp_args, "-I" INCLUDEDIR "/msvcrt");
+ strarray_add(comp_args, gcc_defs ? "-isystem" INCLUDEDIR "/msvcrt" : "-I" INCLUDEDIR "/msvcrt" );
strarray_add(comp_args, "-D__MSVCRT__");
}
strarray_add(comp_args, gcc_defs ? "-isystem" INCLUDEDIR "/windows" : "-I" INCLUDEDIR "/windows" );
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list