mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-23 01:53:47 +08:00
configure: add SIZEOF_TIME_T to public_config.h
This has recently started being used by ext2fs.h. Other users of the
ext2fs.h header would always get the 32-bit versions of the
__encode_extra_time, __decode_extra_sec, and __sb_set_tstamp; and the
64-bit version of __sb_get_tstamp, due to the SIZEOF_TIME_T macro
being undefined and treated as zero.
Fixes: 5b599a32
("Fix 32-bit build and test failures")
Signed-off-by: Alyssa Ross <hi@alyssa.is>
Link: https://lore.kernel.org/r/20240527074121.2767083-1-hi@alyssa.is
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
967bcb1552
commit
6cbb0684c2
5
configure
vendored
5
configure
vendored
@ -13018,6 +13018,11 @@ if grep HAVE_SYS_TYPES_H confdefs.h > tmp_config.$$; then
|
||||
else
|
||||
echo "#undef HAVE_SYS_TYPES_H" >> public_config.h
|
||||
fi
|
||||
if grep SIZEOF_TIME_T confdefs.h > tmp_config.$$; then
|
||||
uniq tmp_config.$$ >> public_config.h
|
||||
else
|
||||
echo "#undef SIZEOF_TIME_T" >> public_config.h
|
||||
fi
|
||||
if grep WORDS_BIGENDIAN confdefs.h > tmp_config.$$; then
|
||||
uniq tmp_config.$$ >> public_config.h
|
||||
else
|
||||
|
@ -1156,6 +1156,11 @@ if grep HAVE_SYS_TYPES_H confdefs.h > tmp_config.$$; then
|
||||
else
|
||||
echo "#undef HAVE_SYS_TYPES_H" >> public_config.h
|
||||
fi
|
||||
if grep SIZEOF_TIME_T confdefs.h > tmp_config.$$; then
|
||||
uniq tmp_config.$$ >> public_config.h
|
||||
else
|
||||
echo "#undef SIZEOF_TIME_T" >> public_config.h
|
||||
fi
|
||||
if grep WORDS_BIGENDIAN confdefs.h > tmp_config.$$; then
|
||||
uniq tmp_config.$$ >> public_config.h
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user