aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2025-09-15 17:41:47 -0700
committerBernd Schubert <bernd@bsbernd.com>2025-09-16 18:54:02 +0200
commit6e4557c57c4ce63de4042f77dcbf58627d13a59b (patch)
tree6f83884af230f11e23d3311fef39e76fdb249169 /meson.build
parent939fc0dd3ed525c0be780537cfa41ffcbf98648c (diff)
downloadlibfuse-6e4557c57c4ce63de4042f77dcbf58627d13a59b.tar.gz
libfuse: don't put HAVE_STATX in a public header
fuse.h and fuse_lowlevel.h are already forward declaring struct statx, there is no need for HAVE_STATX anymore. HAVE_STATX also bears the risk to conflict with an application define. Alternatively it would have been possible to change to HAVE_FUSE_STATX. Get rid of the conditionals in the public header files and also remove HAVE_STATX definition from the public libfuse_config.h. Edit by Bernd: Commit message and removal of HAVE_STATX from public libfuse_config.h. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 0 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 07c7295..1dd687c 100644
--- a/meson.build
+++ b/meson.build
@@ -122,8 +122,6 @@ private_cfg.set('HAVE_ICONV',
cc.has_function('iconv', prefix: '#include <iconv.h>'))
private_cfg.set('HAVE_BACKTRACE',
cc.has_function('backtrace', prefix: '#include <execinfo.h>'))
-public_cfg.set('HAVE_STATX',
- cc.has_function('statx', prefix : '#define _GNU_SOURCE\n#include <sys/stat.h>'))
private_cfg.set('HAVE_STATX',
cc.has_function('statx', prefix : '#define _GNU_SOURCE\n#include <sys/stat.h>'))