Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / string / local.h
blob8d364fdaa2ce96d5996337386f14687ad66314dd
1 #include <_ansi.h>
2 #include <../ctype/local.h>
4 /* internal function to compute width of wide char. */
5 int __wcwidth (wint_t);
7 /*
8 Taken from glibc:
9 Add the compiler optimization to inhibit loop transformation to library
10 calls. This is used to avoid recursive calls in memset and memmove
11 default implementations.
13 #ifdef _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
14 # define __inhibit_loop_to_libcall \
15 __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
16 #else
17 # define __inhibit_loop_to_libcall
18 #endif