summaryrefslogtreecommitdiff
path: root/portability
AgeCommit message (Collapse)AuthorFilesLines
2022-04-11portability: check for qsort_r which does not match POSIX-next definitionAriadne Conill2-0/+40
FreeBSD (and also Darwin) introduced its own qsort_r, which has different semantics than the one slated for inclusion in POSIX. Add a portability thunk to deal with translating between implementations. [TT: minor stylistic fixes]
2022-03-21portability: add qsort_rTimo Teräs3-0/+34
2022-03-07portability, fetch: drop static_deps dependenciesDaniel Kolesa1-1/+0
This is not actually needed, and it results in both static and shared versions of zlib and openssl linked into libapk otherwise, which is bad.
2021-12-29portability: add sys/sysmacros.h wrapper for makedev/major/minorAriadne Conill1-0/+9
2021-12-29portability: include environ in overlaid unistd.hAriadne Conill1-0/+5
2021-12-29portability: implement pipe2 and mknodatAriadne Conill5-0/+64
2021-12-29portability: take over strlcpyAriadne Conill3-0/+18
2021-12-29portability: add endian.h wrapperAriadne Conill1-0/+61
2021-12-29portability: implement skeleton with memrchr functionAriadne Conill3-0/+49