]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
meson: remove no longer used HAVE_DECL___GLIBC__
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Oct 2024 15:26:25 +0000 (16:26 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 17 Oct 2024 13:35:10 +0000 (08:35 -0500)
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 <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/179
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
meson.build

index 1f28c65a127745fd3aace551229cad432ae4e91e..9b7b71fc14ba0a25f52b67ca8d64c77cbc10bfd0 100644 (file)
@@ -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 <sys/stat.h>']]