Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | prelude: Define _QNX_SOURCE | Tavian Barnes | 2024-11-23 | 1 | -0/+5 |
| | |||||
* | build: Move feature test macros to prelude.h | Tavian Barnes | 2024-08-28 | 1 | -2/+56 |
| | | | | | | This replaces the explicit CPPFLAGS list in flags.mk with just `-include src/prelude.h`, shortening our compiler command lines and allowing them to be easily documented. | ||||
* | prelude: Split bfs-specific utilities into new bfs.h header | Tavian Barnes | 2024-08-28 | 1 | -194/+3 |
| | |||||
* | prelude: Rely more on __has_include() | Tavian Barnes | 2024-08-28 | 1 | -83/+14 |
| | | | | | Rather than a bunch of manual fallback macros, just provide a fallback definition that returns false. | ||||
* | build: Move tsan/target_clones conflict to the prelude | Tavian Barnes | 2024-08-28 | 1 | -1/+3 |
| | |||||
* | prelude: Define __SANITIZE_*__ | Tavian Barnes | 2024-08-28 | 1 | -0/+12 |
| | |||||
* | prelude: Define thread_local | Tavian Barnes | 2024-08-28 | 1 | -3/+17 |
| | |||||
* | prelude: Stub out __has_builtin() if necessary | Tavian Barnes | 2024-08-23 | 1 | -0/+4 |
| | | | | Fixes: c964524 ("atomic: Add a spin_loop() hint") | ||||
* | prelude: s/fallthru/_fallthrough/ for consistency with other attributes | Tavian Barnes | 2024-08-09 | 1 | -2/+2 |
| | |||||
* | prelude: Simplify attributes | Tavian Barnes | 2024-07-28 | 1 | -100/+32 |
| | |||||
* | build: Rename CONFIG to CONFFLAGS | Tavian Barnes | 2024-06-18 | 1 | -1/+1 |
| | |||||
* | build: Include CC in bfs --version output | Tavian Barnes | 2024-06-13 | 1 | -0/+1 |
| | |||||
* | Embed more configuration info in bfs --version | Tavian Barnes | 2024-06-08 | 1 | -0/+6 |
| | |||||
* | list: New SLIST_SPLICE() macro | Tavian Barnes | 2024-05-31 | 1 | -1/+1 |
| | |||||
* | bit: Use <stdbit.h> if it exists, even without -std=c23 | Tavian Barnes | 2024-05-29 | 1 | -0/+4 |
| | | | | glibc added an implementation in 2.39. | ||||
* | prelude: Remove max_align_t polyfill | Tavian Barnes | 2024-05-20 | 1 | -15/+0 |
| | | | | | | This has been fixed in Cosmopolitan. Link: https://github.com/jart/cosmopolitan/issues/944 | ||||
* | prelude: Make sure to grab __GLIBC__ | Tavian Barnes | 2024-05-20 | 1 | -1/+2 |
| | |||||
* | prelude: Kill #include <sys/param.h> | Tavian Barnes | 2024-05-07 | 1 | -7/+0 |
| | | | | We don't check for `BSD` anymore. | ||||
* | prelude: Remove unused __GLIBC_PREREQ() polyfill | Tavian Barnes | 2024-05-07 | 1 | -4/+0 |
| | |||||
* | prelude: Kill unused __NetBSD_Prereq__() polyfill | Tavian Barnes | 2024-05-07 | 1 | -4/+0 |
| | |||||
* | printf: Check dynamic format strings more carefully | Tavian Barnes | 2024-04-24 | 1 | -0/+9 |
| | |||||
* | config: Check for acl_get_file() | Tavian Barnes | 2024-04-22 | 1 | -7/+0 |
| | |||||
* | fsade: Simplify BFS_CAN_CHECK_CAPABILITIES | Tavian Barnes | 2024-04-22 | 1 | -7/+0 |
| | |||||
* | config: Check for extattr_{get,list}_{file,link}() | Tavian Barnes | 2024-04-22 | 1 | -1/+1 |
| | | | | This lets us implement -xattr on DragonFly BSD. | ||||
* | config: Check for max_align_t | Tavian Barnes | 2024-04-19 | 1 | -4/+15 |
| | |||||
* | config: Check for program_invocation_short_name | Tavian Barnes | 2024-04-19 | 1 | -0/+2 |
| | | | | | | This lets us pick it up on musl too, since there's no __MUSL__ macro. Link: https://wiki.musl-libc.org/faq#Q:-Why-is-there-no-%3Ccode%3E__MUSL__%3C/code%3E-macro? | ||||
* | Rename config.h to prelude.h | Tavian Barnes | 2024-04-19 | 1 | -0/+377 |