stdlib.h: define __itoa/__utoa while building newlib

This avoids a `__utoa undefined' warning when building newlib
for Cygwin.  We still need to export the symbols for backward
compatibility.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2024-08-15 20:50:06 +02:00
parent 8d4ea8ba68
commit b2e05e03df
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ char * ecvtbuf (double, int, int*, int*, char *);
char * fcvtbuf (double, int, int*, int*, char *);
char * ecvtf (float,int,int *,int *);
#endif
#ifndef __CYGWIN__
#if !defined (__CYGWIN__) || defined (_LIBC)
char * __itoa (int, char *, int);
char * __utoa (unsigned, char *, int);
# if __MISC_VISIBLE