projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
meson: set _GNU_SOURCE on cygwin
[mesa.git]
/
meson.build
diff --git
a/meson.build
b/meson.build
index a7a51bccb33b4dce1155a21d4d5c38c3cc6a3b57..7a7793b9961c0788c7f0c1fec9dd516957208140 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-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