Commit 6c8af386 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winegcc: Make condition easier to read and look like the statement after the block.

parent 621694ef
...@@ -441,8 +441,7 @@ no_compat_defines: ...@@ -441,8 +441,7 @@ no_compat_defines:
{ {
if (opts->use_msvcrt) if (opts->use_msvcrt)
{ {
if (gcc_defs) strarray_add(comp_args, "-isystem" INCLUDEDIR "/msvcrt"); strarray_add(comp_args, gcc_defs ? "-isystem" INCLUDEDIR "/msvcrt" : "-I" INCLUDEDIR "/msvcrt" );
else strarray_add(comp_args, "-I" INCLUDEDIR "/msvcrt");
strarray_add(comp_args, "-D__MSVCRT__"); strarray_add(comp_args, "-D__MSVCRT__");
} }
strarray_add(comp_args, gcc_defs ? "-isystem" INCLUDEDIR "/windows" : "-I" INCLUDEDIR "/windows" ); strarray_add(comp_args, gcc_defs ? "-isystem" INCLUDEDIR "/windows" : "-I" INCLUDEDIR "/windows" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment