Improve sysconf.h on Linux

I copied the constants and definitions from musl which we can presume is
correct. Relibc is missing some features which affects our sysconf as
well, such as constants in limits.h or a working resources.h.
This commit is contained in:
Josh Megnauth
2025-08-18 02:13:01 -04:00
parent 8f9614920d
commit 70ae45ff85
5 changed files with 467 additions and 74 deletions
+1 -8
View File
@@ -3,13 +3,6 @@
#define _POSIX_VERSION 200809L
#define _POSIX_REALTIME_SIGNALS 202405L
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
} // extern "C"
#endif
#define _XOPEN_VERSION 700L
#endif