9a9b91c940
It's finally done.. Signed-off-by: kaguya <vpshinomiya@protonmail.com>
21 lines
542 B
C
21 lines
542 B
C
#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
|
|
|
|
#mesondefine __MLIBC_BSD_OPTION
|
|
#mesondefine __MLIBC_POSIX_OPTION
|
|
#mesondefine __MLIBC_LINUX_OPTION
|
|
#mesondefine __MLIBC_GLIBC_OPTION
|
|
#mesondefine __MLIBC_SYSDEP_HAS_BITS_SYSCALL_H
|
|
|
|
#endif /* _MLIBC_CONFIG_H */
|