commit | dbe36e3b1788a333309c5b919a40bceaf0df3e74 | [log] [tgz] |
---|---|---|
author | Jon Turney <jon.turney@dronecode.org.uk> | Thu Nov 23 13:42:00 2017 +0000 |
committer | Jon Turney <jon.turney@dronecode.org.uk> | Thu Nov 30 15:09:21 2017 +0000 |
tree | 087c56eb17a8ea9bb120ee2b5893ac6920d2ddfe | |
parent | 9cdd41b18ae268d8ef99dbd766f4cb85c0ee315e [diff] [blame] |
meson: set _GNU_SOURCE on cygwin Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
diff --git a/meson.build b/meson.build index a7a51bc..7a7793b 100644 --- a/meson.build +++ b/meson.build
@@ -481,7 +481,7 @@ endif # TODO: this is very incomplete -if host_machine.system() == 'linux' +if ['linux', 'cygwin'].contains(host_machine.system()) pre_args += '-D_GNU_SOURCE' endif