From: Emil Velikov Date: Wed, 9 Oct 2024 15:26:25 +0000 (+0100) Subject: meson: remove no longer used HAVE_DECL___GLIBC__ X-Git-Tag: v34~234 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb326abe839d8bcaf6220c189f11ca7b86fe58ad;p=thirdparty%2Fkmod.git meson: remove no longer used HAVE_DECL___GLIBC__ Earlier commit removed the final user, drop the autotools define yet forgot the meson one. Fixes: 0766f541 ("build: check for __xstat declarations") Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/179 Signed-off-by: Lucas De Marchi --- diff --git a/meson.build b/meson.build index 1f28c65a..9b7b71fc 100644 --- a/meson.build +++ b/meson.build @@ -73,12 +73,6 @@ foreach tuple : _builtins cdata.set10('HAVE_@0@'.format(builtin.to_upper()), have) endforeach -# Check for __GLIBC__ as short-cut for the LFS64 wrappers -glibc = cc.has_header_symbol('features.h', '__GLIBC__') -# XXX: once meson only, rename the define to something more sensible ... -# NEED_64_WRAPPERS perhaps? -cdata.set10('HAVE_DECL___GLIBC__', glibc) - # dietlibc doesn't have st.st_mtim struct member # XXX: we use both st_mtim and st_mtime ... unify and test foreach tuple : [['struct stat', 'st_mtim', '#include ']]