[PATCH 6/8] newlib: add missing _NANO_MALLOC to newlib.hin

Mike Frysinger vapier@gentoo.org
Tue Jan 18 04:47:39 GMT 2022


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.
---
 newlib/newlib.hin | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/newlib/newlib.hin b/newlib/newlib.hin
index 26cd69f05e11..2b7b8d0d8ea6 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
 
-- 
2.33.0



More information about the Newlib mailing list