]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Feature test macro review
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Thu, 28 Sep 2023 22:49:19 +0000 (16:49 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Fri, 29 Sep 2023 17:31:33 +0000 (11:31 -0600)
commita818d0ceb1ffdb6393b8d5106c4206bc586face0
tree60aa049bb7ce40d15da8bb24875a150b6af61986
parent2b2f7c3cea147796ed92cc25aade90701221c210
Feature test macro review

Stop relying on default features; explicitely define the macros that
enable the symbols we need.

It appears POSIX.1 usage is fairly widespread through the code, and its
minimum required version is 2001.

We also have one GNU extension: getopt_long().

And we also have one GNU extension marked as nonstandard: timegm().
I'm going to try to remove it in a future commit.
20 files changed:
src/alloc.c
src/asn1/asn1c/BIT_STRING.c
src/asn1/asn1c/GeneralizedTime.c
src/asn1/asn1c/OBJECT_IDENTIFIER.c
src/asn1/asn1c/UTCTime.c
src/asn1/asn1c/asn_bit_data.c
src/asn1/asn1c/asn_internal.c
src/asn1/asn1c/asn_system.h
src/asn1/asn1c/ber_tlv_tag.c
src/asn1/asn1c/constraints.c
src/cache/local_cache.c
src/config.c
src/data_structure/path_builder.c
src/file.c
src/json_handler.c
src/log.c
src/object/manifest.c
src/rtr/rtr.c
src/xml/relax_ng.c
test/cache/local_cache_test.c