123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #include <features.h>
- #ifdef __UCLIBC__
- # define _REGEX_RE_COMP
- # define HAVE_LANGINFO
- # define HAVE_LANGINFO_CODESET
- # include <stdbool.h>
- # include <stdint.h>
- # include <string.h>
- # include <stdlib.h>
- # ifdef __UCLIBC_HAS_WCHAR__
- # define RE_ENABLE_I18N
- # define HAVE_WCHAR_H 1
- # define HAVE_WCRTOMB 1
- # define HAVE_MBRTOWC 1
- # define HAVE_WCSCOLL 1
- # include <wchar.h>
- # define HAVE_WCTYPE_H 1
- # include <wctype.h>
- # define __iswctype iswctype
- # define __wcrtomb wcrtomb
- # define __btowc btowc
- # define __wctype wctype
- # endif
- # include <ctype.h>
- # ifdef __UCLIBC_HAS_LOCALE__
- # define HAVE_LOCALE_H 1
- # endif
- #endif
- #ifdef __cplusplus
- # error "This is C code, use a C compiler"
- #endif
- #include <limits.h>
- #include <regex.h>
- #include "regex_internal.h"
- #include "regex_internal.c"
- #include "regcomp.c"
- #include "regexec.c"
|