Welcome to mirror list, hosted at ThFree Co, Russian Federation.

local.h « string « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: babaad0e5f1eafc1103149a9cd43cf7e3d6a99b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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 _EXFUN (__locale_cjk_lang, (void));

/*
   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