aboutsummaryrefslogtreecommitdiff
path: root/compat/compat.h
Commit message (Collapse)AuthorAgeFilesLines
* feat: improved support for windows. added gating behind _WIN32 to use _ ↵Mosder5 days1-6/+0
| | | | prefixed versions of functions and made it work (with limited functionality) on machines without fileno
* refactor: removed the use of mkstemp and replaced it with tmpfile + fileno ↵Mosder12 days1-3/+3
| | | | -> have tp handle that somehow, maybe freopen or something?
* feat: added feature test macros for different OSes / libc'sMosder2026-10-081-1/+6
|
* added a temporary fix for glibcMosder2026-10-061-0/+6
|
* refactor: prefixed compat functions (and added a macro to libc ↵Mosder2026-09-281-5/+10
| | | | implementations - if they exist), so they do not take reserved names anymore
* feat: improved compatibility - removed possible duplicate names, exit tests ↵Mosder2026-09-171-1/+0
| | | | now create a fork instead of relying on being able to overwrite exit function, made tester only output ASCII escape sequences for colour into a tty
* feat: added a simple compatibbility layer for functions not from C99 standardMosder2026-09-161-0/+21