user: implement mlibc as the libc, finally.

It's finally done..

Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
kaguya
2026-05-02 03:31:49 -04:00
parent 2fa39ad85a
commit 9a9b91c940
2387 changed files with 152741 additions and 315 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef _MLIBC_CONFIG_H
#define _MLIBC_CONFIG_H
#ifdef _GNU_SOURCE
# undef _DEFAULT_SOURCE
# define _DEFAULT_SOURCE 1
#endif
#if (defined(_DEFAULT_SOURCE) || (!defined(__STRICT_ANSI__) && !defined(_POSIX_SOURCE) && !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)))
# undef _DEFAULT_SOURCE
# define _DEFAULT_SOURCE 1
#endif
#define __MLIBC_BSD_OPTION 1
#define __MLIBC_POSIX_OPTION 1
#define __MLIBC_LINUX_OPTION 0
#define __MLIBC_GLIBC_OPTION 1
#define __MLIBC_SYSDEP_HAS_BITS_SYSCALL_H 0
#endif /* _MLIBC_CONFIG_H */