]> git.ipfire.org Git - thirdparty/util-linux.git/commit
Fix non-Linux build
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 8 Aug 2012 15:19:43 +0000 (17:19 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 13 Aug 2012 13:14:13 +0000 (15:14 +0200)
commit4797b1e5928219864215c7b7cf9e6d023e345675
tree3bc7d410acb2ccffac9335eae57a32f3bd7940fa
parent109896c36b768ba7a3ef2ffa581c087272ec329f
Fix non-Linux build

loopdev.c, test_pager, and get_max_number_of_cpus() are linux-specific.
get_linux_version will only work on Linux, let's introduce
system_supports_ext4_ext2() which assumes that mounting ext2 with ext4
is not supported on non-Linux systems.

[kzak@redhat.com: - use #ifdef SYS_sched_getaffinity rather than __linux__]

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/Makemodule.am
lib/cpuset.c
libblkid/src/superblocks/ext.c