Rev 4874 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4874 | Rev 4921 | ||
---|---|---|---|
1 | #include <_ansi.h> |
1 | #include <_ansi.h> |
2 | #include <../ctype/local.h> |
2 | #include <../ctype/local.h> |
3 | 3 | ||
4 | /* internal function to compute width of wide char. */ |
4 | /* internal function to compute width of wide char. */ |
5 | int _EXFUN (__wcwidth, (wint_t)); |
5 | int _EXFUN (__wcwidth, (wint_t)); |
6 | 6 | ||
7 | /* Defined in locale/locale.c. Returns a value != 0 if the current |
7 | /* Defined in locale/locale.c. Returns a value != 0 if the current |
8 | language is assumed to use CJK fonts. */ |
8 | language is assumed to use CJK fonts. */ |
9 | int __locale_cjk_lang (); |
9 | int __locale_cjk_lang (); |
- | 10 | ||
- | 11 | /* |
|
- | 12 | Taken from glibc: |
|
- | 13 | Add the compiler optimization to inhibit loop transformation to library |
|
- | 14 | calls. This is used to avoid recursive calls in memset and memmove |
|
- | 15 | default implementations. |
|
- | 16 | */ |
|
- | 17 | #ifdef _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL |
|
- | 18 | # define __inhibit_loop_to_libcall \ |
|
- | 19 | __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns"))) |
|
- | 20 | #else |
|
- | 21 | # define __inhibit_loop_to_libcall |
|
- | 22 | #endif |
|
- | 23 | ||
- | 24 |