Re: [PATCH] Fix non-Linux build

Karel Zak <[email protected]>
Newsgroups org.kernel.vger.util-linux
Message-ID <22d3kilpbkuhwsk7lac2f6nscbtet5j56urjyrzarifymwqgh5@d5nu7qwd75nx>
On Sun, Jan 12, 2025 at 04:39:44PM GMT, Samuel Thibault wrote:
> This fixes non-Linux builds, by:
> 
> - making sfdisk discard option conditioned by availability of BLKDISCARD
> - defining and using blkid_probe_get_buffer only if O_DIRECT is
>   available
> - always building src/fs_statmount.c and src/tab_listmount.c, they
>   already contain proper conditions to make them void if support is not
>   available.

 Applied, thanks!

    Karel
-- 
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.