Subversion Repositories Kolibri OS

Rev

Rev 4874 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. #include <_ansi.h>
  2. #include <../ctype/local.h>
  3.  
  4. /* internal function to compute width of wide char. */
  5. int _EXFUN (__wcwidth, (wint_t));
  6.  
  7. /* Defined in locale/locale.c.  Returns a value != 0 if the current
  8.    language is assumed to use CJK fonts. */
  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.  
  25.