Add WIN32 flag definition.

When switching to c++11, the WIN32 flags is no more automatically defined.
So let's define it in the meson crossfile itself.
This commit is contained in:
Matthieu Gautier
2017-04-11 16:57:51 +02:00
parent 2fc1b7ebe8
commit 6a24b38169
2 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,8 @@ strip = '{toolchain.binaries[STRIP]}'
[properties]
c_link_args = {extra_libs!r}
cpp_link_args = {extra_libs!r}
c_args = {extra_cflags!r}
cpp_args = {extra_cflags!r}
[host_machine]
cpu_family = '{host_machine[cpu_family]}'