From 6c8af386384c7d26fb366754a76fe0bd4cc4bd51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 24 Mar 2010 20:16:27 +0100 Subject: [PATCH] winegcc: Make condition easier to read and look like the statement after the block. --- tools/winegcc/winegcc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index 396bcc80a9e..a6907544247 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" );