2009-05-15 04:40:28 -07:00
|
|
|
#include <_ansi.h>
|
2009-06-02 02:41:06 -07:00
|
|
|
#include <../ctype/local.h>
|
2009-05-15 04:40:28 -07:00
|
|
|
|
|
|
|
/* internal function to compute width of wide char. */
|
2017-12-03 21:54:48 -08:00
|
|
|
int __wcwidth (wint_t);
|
2009-06-03 12:28:22 -07:00
|
|
|
|
2013-12-10 10: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
|
|
|
|
|
|
|
|
|