aboutsummaryrefslogtreecommitdiff
path: root/elf/noload.c
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2019-03-09 21:18:56 -0500
committerZack Weinberg <zackw@panix.com>2020-01-08 12:56:33 -0500
commit795eb42e060039b6d624b7e613d8c334ac70580c (patch)
tree988877a2a4a22a6bfc9604f8688a868e34cbfca9 /elf/noload.c
parentd5ebebf969165c51e6a9fcff3a21b6591269eaea (diff)
downloadglibc-795eb42e060039b6d624b7e613d8c334ac70580c.zip
glibc-795eb42e060039b6d624b7e613d8c334ac70580c.tar.gz
glibc-795eb42e060039b6d624b7e613d8c334ac70580c.tar.bz2
Don’t conditionalize declarations of ldiv_t, lldiv_t, __gwchar_t.
The declarations of ldiv_t, lldiv_t, and __gwchar_t are all wrapped in __foo_t_defined conditionals, despite there being only one header in glibc that declares them. I checked codesearch.debian.net and only found one other program that refers to the __foo_t_defined conditionals: u-boot provides its own definition of ldiv_t if __ldiv_t_defined is not defined by stdlib.h. I conclude that the conditionals are not necessary, but the definitions of __ldiv_t_defined and __lldiv_t_defined should be preserved. * stdlib/inttypes.h: Unconditionally define __gwchar_t. Don’t define ____gwchar_t_defined. * stdlib/stdlib.h: Unconditionally define ldiv_t. Condition lldiv_t only on __USE_ISOC99.
Diffstat (limited to 'elf/noload.c')
0 files changed, 0 insertions, 0 deletions