[newlib-cygwin] newlib: add missing _NANO_MALLOC to newlib.hin

Michael Frysinger vapier@sourceware.org
Thu Jan 20 01:57:50 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=15c091ad7326129a3a4ddf04c67fffbc62d002ae

commit 15c091ad7326129a3a4ddf04c67fffbc62d002ae
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Jan 17 21:25:17 2022 -0500

    newlib: add missing _NANO_MALLOC to newlib.hin
    
    This was added to configure, but never to the header file.  Nothing
    uses this currently, so it's not a big deal (as all the dynamic logic
    is via automake conditionals), but might as well restore it now to
    keep autoheader output in sync.

Diff:
---
 newlib/newlib.hin | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/newlib/newlib.hin b/newlib/newlib.hin
index 26cd69f05..2b7b8d0d8 100644
--- a/newlib/newlib.hin
+++ b/newlib/newlib.hin
@@ -159,6 +159,9 @@
 /* Define if small footprint nano-formatted-IO implementation used. */
 #undef _NANO_FORMATTED_IO
 
+/* nano version of malloc is used. */
+#undef _NANO_MALLOC
+
 /* Verify _REENT_CHECK macros allocate memory successfully. */
 #undef _REENT_CHECK_VERIFY


More information about the Newlib-cvs mailing list