public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/main] Hide itoa, utoa, __itoa and __utoa in stdlib.h on Cygwin only
@ 2024-01-31 19:08 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2024-01-31 19:08 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=31f7cd1e433247015c08d43504f09aa70a94b76b
commit 31f7cd1e433247015c08d43504f09aa70a94b76b
Author: Christian Franke <christian.franke@t-online.de>
AuthorDate: Mon Jan 22 19:11:20 2024 +0100
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Wed Jan 31 20:06:38 2024 +0100
Hide itoa, utoa, __itoa and __utoa in stdlib.h on Cygwin only
These functions are non-standard and not exported by Cygwin.
Signed-off-by: Christian Franke <christian.franke@t-online.de>
Diff:
---
newlib/libc/include/stdlib.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h
index 15b349440e75..fd89f5ba7b28 100644
--- a/newlib/libc/include/stdlib.h
+++ b/newlib/libc/include/stdlib.h
@@ -221,11 +221,13 @@ char * ecvtbuf (double, int, int*, int*, char *);
char * fcvtbuf (double, int, int*, int*, char *);
char * ecvtf (float,int,int *,int *);
#endif
+#ifndef __CYGWIN__
char * __itoa (int, char *, int);
char * __utoa (unsigned, char *, int);
-#if __MISC_VISIBLE
+# if __MISC_VISIBLE
char * itoa (int, char *, int);
char * utoa (unsigned, char *, int);
+# endif
#endif
#if __POSIX_VISIBLE
int rand_r (unsigned *__seed);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-31 19:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-31 19:08 [newlib-cygwin/main] Hide itoa, utoa, __itoa and __utoa in stdlib.h on Cygwin only Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).