Commit dbe36e3b authored by Jon Turney's avatar Jon Turney
Browse files

meson: set _GNU_SOURCE on cygwin


Signed-off-by: default avatarJon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: default avatarDylan Baker <dylan@pnwbakers.com>
Reviewed-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
parent 9cdd41b1
......@@ -481,7 +481,7 @@ if cc.compiles('int foo(void) { return 0; } int bar(void) __attribute__((alias("
endif
# TODO: this is very incomplete
if host_machine.system() == 'linux'
if ['linux', 'cygwin'].contains(host_machine.system())
pre_args += '-D_GNU_SOURCE'
endif
......
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