source: trunk/libs/newlib/src/newlib/libc/string/local.h

Last change on this file was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 528 bytes
Line 
1#include <_ansi.h>
2#include <../ctype/local.h>
3
4/* internal function to compute width of wide char. */
5int __wcwidth (wint_t);
6
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.
12*/
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
19
20
Note: See TracBrowser for help on using the repository browser.