]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: define NBBY if not defined by the system header files
authorTheodore Ts'o <tytso@mit.edu>
Mon, 3 Aug 2015 00:15:45 +0000 (10:15 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 3 Aug 2015 00:15:45 +0000 (10:15 +1000)
commitc9a901852bfc8f41db8c782b4bd31e589fcaf519
tree97a29126f2c0750cf0941c559bed063bf8c3ab37
parent5d87ed9d3041336e50da44d333a822531b26bf82
xfsprogs: define NBBY if not defined by the system header files

Android's bionic libc doesn't define NBBY; this isn't a standard
define, and since all modern/sane platforms have 8 bits per byte, use
this as a default.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
include/platform_defs.h.in