anchao commented on code in PR #11711:
URL: https://github.com/apache/nuttx/pull/11711#discussion_r1494184571


##########
include/alloca.h:
##########
@@ -37,6 +37,11 @@
 #  undef  __alloca
 #  define alloca(size)   _alloca(size)
 #  define __alloca(size) _alloca(size)
+#elif defined(__TASKING__)
+#  undef  alloca
+#  undef  __alloca
+#  define alloca(size)   malloc(size)

Review Comment:
   https://github.com/apache/nuttx-apps/pull/2291



-- 
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

Reply via email to