userspace

This commit is contained in:
2026-08-18 01:51:35 -04:00
parent 5f93867198
commit 6ad165160e
18 changed files with 687 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
--- a/lib/bcheck.c
+++ b/lib/bcheck.c
@@ -50,7 +50,9 @@
|| defined(__OpenBSD__) \
|| defined(__NetBSD__) \
|| defined(__dietlibc__) \
- || defined(_WIN32)
+ || defined(_WIN32) \
+ || (defined(__GLIBC__) && defined(__GLIBC_PREREQ) \
+ && __GLIBC_PREREQ(2, 34))
//#warning Bound checking does not support malloc (etc.) in this environment.
#undef CONFIG_TCC_MALLOC_HOOKS
#undef HAVE_MEMALIGN