summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2023-02-19 09:52:13 +0100
committerNikolaus Rath <Nikolaus@rath.org>2023-02-20 10:13:32 +0000
commitdf2cde25a6eb0ced31764b8807c639c5f4099fd4 (patch)
tree70bce470ca63ca96156e700199f72356baf5e71a
parent91e6e3c8630dbda94618d671e506bde2883aaaff (diff)
downloadfuse-df2cde25a6eb0ced31764b8807c639c5f4099fd4.tar.gz
Change define for C++ too
Commit d7560cc has split defines into private and public, and passed -DHAVE_LIBFUSE-PRIVATE_CONFIG_H to all C programs. But the arguments of C++ programs have not been changed. This leads to a test failure as reported in issue #734. Pass -DHAVE_LIBFUSE-PRIVATE_CONFIG_H to C++ programs too. Fixes: #734
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 7e88ac3..18f57ac 100644
--- a/meson.build
+++ b/meson.build
@@ -77,7 +77,7 @@ private_cfg.set('HAVE_STRUCT_STAT_ST_ATIMESPEC',
add_project_arguments('-D_REENTRANT', '-DHAVE_LIBFUSE_PRIVATE_CONFIG_H', '-Wno-sign-compare',
'-Wstrict-prototypes', '-Wmissing-declarations', '-Wwrite-strings',
'-fno-strict-aliasing', language: 'c')
-add_project_arguments('-D_REENTRANT', '-DHAVE_CONFIG_H', '-D_GNU_SOURCE',
+add_project_arguments('-D_REENTRANT', '-DHAVE_LIBFUSE_PRIVATE_CONFIG_H', '-D_GNU_SOURCE',
'-Wno-sign-compare', '-Wmissing-declarations',
'-Wwrite-strings', '-fno-strict-aliasing', language: 'cpp')