pussuw commented on code in PR #6197: URL: https://github.com/apache/incubator-nuttx/pull/6197#discussion_r870678772
########## include/stdlib.h: ########## @@ -81,6 +81,13 @@ #define strtoll_l(s, e, b, l) strtoll(s, e, b) #define strtoull_l(s, e, b, l) strtoull(s, e, b) +/* Temporary fix for undefined exit() */ + +#ifndef __KERNEL__ +# undef exit +# define exit nx_exit Review Comment: CI error when building protected mode, exit is not defined in BUILD_PROTECTED, so this forwards exit to nx_exit. This is temporary, and will be removed in the next PR. -- 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