aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-01-26 11:04:28 -0600
committerEric Engestrom2018-03-20 09:30:27 -0500
commit1a44bbae734fa6aa227d2ac621ff7884af1ae8ef (patch)
tree7a491caee1358e6cce7743f0d24389f3b29009ce /meson.build
parent32e0370e36e8263b1e7dfb75f76934dbfce53e9c (diff)
downloadexternal-libgbm-1a44bbae734fa6aa227d2ac621ff7884af1ae8ef.tar.gz
external-libgbm-1a44bbae734fa6aa227d2ac621ff7884af1ae8ef.tar.xz
external-libgbm-1a44bbae734fa6aa227d2ac621ff7884af1ae8ef.zip
meson,configure: always define HAVE_OPEN_MEMSTREAM
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 2a6c4680..50daa1d0 100644
--- a/meson.build
+++ b/meson.build
@@ -196,9 +196,7 @@ if cc.has_header_symbol('sys/sysmacros.h', 'major')
196elif cc.has_header_symbol('sys/mkdev.h', 'major') 196elif cc.has_header_symbol('sys/mkdev.h', 'major')
197 config.set10('MAJOR_IN_MKDEV', true) 197 config.set10('MAJOR_IN_MKDEV', true)
198endif 198endif
199if cc.has_function('open_memstream') 199config.set10('HAVE_OPEN_MEMSTREAM', cc.has_function('open_memstream'))
200 config.set10('HAVE_OPEN_MEMSTREAM', true)
201endif
202 200
203warn_c_args = [] 201warn_c_args = []
204foreach a : ['-Wall', '-Wextra', '-Wsign-compare', '-Werror=undef', 202foreach a : ['-Wall', '-Wextra', '-Wsign-compare', '-Werror=undef',