Whamcloud - gitweb
configure: add SIZEOF_TIME_T to public_config.h
authorAlyssa Ross <hi@alyssa.is>
Mon, 27 May 2024 07:41:21 +0000 (09:41 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 24 Oct 2024 22:41:19 +0000 (18:41 -0400)
commit6cbb0684c2618a27e49b04e3a99dcbbe90be524c
tree758ad3c2ac4469b3dfcdfa070108e6761d86afda
parent967bcb155295c5e33c0edc6555bd4e25e9307899
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>
configure
configure.ac