diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-04-17 23:52:52 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-04-17 23:52:52 +0200 |
commit | 16a22bebb0bb4a28aec9ca76442af93462fc200e (patch) | |
tree | f6d84145553686ab0e9be451dcf0e2acb485cd9c /include/sqfs/data_reader.h | |
parent | 1fe3f86230a970b3974f16a6bc2e819fdaf55b58 (diff) |
Remove some configure time sizeof checks
In libtar, the sizeof time_t checked when trying to store a time value.
It is pointless using the preprocessor here, as we can simply do an
if (sizeof(time_t) < ...) check and the compiler will take care
optimizing away one or the other branch.
After changing the libtar check and the corresponding unit tests, the
sizeof check can be removed from configure.ac, along with other unused
sizeof checks.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/data_reader.h')
0 files changed, 0 insertions, 0 deletions