summaryrefslogtreecommitdiffstats
path: root/src/util.c
Commit message (Collapse)AuthorAgeFilesLines
* util: Get rid of BFS_HAS_INCLUDE() wrapper for __has_include()Tavian Barnes2022-11-061-4/+4
| | | | | | | | | Since __has_include() needs special preprocessing rules (e.g. not expanding `linux` in `__has_include(<linux/stat.h>)`, macros that expand to __has_include() do not necessarily behave correctly. Instead, we have to directly test `#if __has_include(...)`. See https://bugs.llvm.org/show_bug.cgi?id=37990 for more details.
* util: Use ENOTSUP instead of ENOSYS for stubbed xconfstr()Tavian Barnes2022-10-181-1/+1
|
* util: Stub out confstr() on AndroidTavian Barnes2022-10-171-0/+5
|
* Source / Include Folder (#88)トトも2022-04-161-0/+510
Moved Source Files Into `src` Folder