2013-12-15 09:09:20 +01:00
|
|
|
#include <_ansi.h>
|
|
|
|
#include <../ctype/local.h>
|
|
|
|
|
|
|
|
/* internal function to compute width of wide char. */
|
|
|
|
int _EXFUN (__wcwidth, (wint_t));
|
|
|
|
|
|
|
|
/* Defined in locale/locale.c. Returns a value != 0 if the current
|
|
|
|
language is assumed to use CJK fonts. */
|
|
|
|
int __locale_cjk_lang ();
|
2014-05-11 00:12:19 +02: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
|
|
|
|
|
|
|
|
|