xiaoxiang781216 commented on a change in pull request #3983: URL: https://github.com/apache/incubator-nuttx/pull/3983#discussion_r662780292
########## File path: include/malloc.h ########## @@ -31,6 +31,8 @@ * Pre-processor Definitions ****************************************************************************/ +#define malloc_usable_size malloc_size + Review comment: But a simple macro can improve the portability without bad side effect. This just like bcmp/bcopy: https://github.com/apache/incubator-nuttx/blob/master/include/strings.h#L44-L46 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org