2009-05-15 19:40:28 +08:00
|
|
|
#include <_ansi.h>
|
2009-06-02 17:41:06 +08:00
|
|
|
#include <../ctype/local.h>
|
2009-05-15 19:40:28 +08:00
|
|
|
|
|
|
|
/* internal function to compute width of wide char. */
|
|
|
|
int _EXFUN (__wcwidth, (wint_t));
|
2009-06-04 03:28:22 +08:00
|
|
|
|
|
|
|
/* Defined in locale/locale.c. Returns a value != 0 if the current
|
|
|
|
language is assumed to use CJK fonts. */
|
2014-10-09 20:24:56 +08:00
|
|
|
int _EXFUN (__locale_cjk_lang, (void));
|
2013-12-11 02:57:30 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
Taken from glibc:
|
|
|
|
Add the compiler optimization to inhibit loop transformation to library
|
|
|
|
calls. This is used to avoid recursive calls in memset and memmove
|
|
|
|
default implementations.
|
|
|
|
*/
|
|
|
|
#ifdef _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
|
|
|
|
# define __inhibit_loop_to_libcall \
|
|
|
|
__attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
|
|
|
|
#else
|
|
|
|
# define __inhibit_loop_to_libcall
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|