projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76eb347
)
meson: Add _GNU_SOURCE for Haiku to activate non-posix functions
author
Alexander von Gluck IV
<kallisti5@unixzen.com>
Wed, 30 Dec 2020 00:46:45 +0000
(18:46 -0600)
committer
Alexander von Gluck IV
<kallisti5@unixzen.com>
Tue, 5 Jan 2021 03:18:54 +0000
(21:18 -0600)
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
6193357
..
2338031
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-970,7
+970,7
@@
if cc.compiles('__uint128_t foo(void) { return 0; }',
endif
# TODO: this is very incomplete
-if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd'].contains(host_machine.system())
+if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd'
, 'haiku'
].contains(host_machine.system())
pre_args += '-D_GNU_SOURCE'
elif host_machine.system() == 'sunos'
pre_args += '-D__EXTENSIONS__'