Rev 4921 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4921 | Rev 6099 | ||
---|---|---|---|
Line 1... | Line 1... | ||
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 _EXFUN (__locale_cjk_lang, (void)); |
10 | 10 | ||
11 | /* |
11 | /* |
12 | Taken from glibc: |
12 | Taken from glibc: |
13 | Add the compiler optimization to inhibit loop transformation to library |
13 | Add the compiler optimization to inhibit loop transformation to library |
14 | calls. This is used to avoid recursive calls in memset and memmove |
14 | calls. This is used to avoid recursive calls in memset and memmove |
15 | default implementations. |
15 | default implementations. |
16 | */ |
16 | */ |
17 | #ifdef _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL |
17 | #ifdef _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL |
18 | # define __inhibit_loop_to_libcall \ |
18 | # define __inhibit_loop_to_libcall \ |
19 | __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns"))) |
19 | __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns"))) |
20 | #else |
20 | #else |
21 | # define __inhibit_loop_to_libcall |
21 | # define __inhibit_loop_to_libcall |
22 | #endif |
22 | #endif |
23 | 23 | ||
24 | 24 |