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

meson: set _GNU_SOURCE on cygwin

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