]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - configure.ac
Fix ext2fs_swap{16,32,64} for external applications on big-endian machines
authorTheodore Ts'o <tytso@mit.edu>
Sat, 7 Jun 2008 12:55:21 +0000 (08:55 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 7 Jun 2008 12:55:21 +0000 (08:55 -0400)
commit488c75a6a62acb07b82bcfab327d30eb5ea54703
tree6d01f3be6db9189e94d64931f7ebc20b167ad724
parent9aa109c95dd0fc2cbcb0d309ab830d5898e1344b
Fix ext2fs_swap{16,32,64} for external applications on big-endian machines

The public header files depend on the the autoconf defines
WORDS_BIGENDIAN and HAVE_SYS_TYPES_H, so we add them to ext2_types.h
so that external programs which try to use ext2fs_swap*() will work
correctly on big-endian systems.  Fortunately, few if any programs
need to use this libext2's byte-swap functions directly.

Addresses-Debian-Bug: #484879

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
configure
configure.in
lib/ext2fs/ext2_types.h.in