xiaoxiang781216 commented on code in PR #7327: URL: https://github.com/apache/incubator-nuttx/pull/7327#discussion_r996436973
########## include/spawn.h: ########## @@ -216,6 +217,12 @@ int task_spawnattr_getstacksize(FAR const posix_spawnattr_t *attr, FAR size_t *stacksize); int task_spawnattr_setstacksize(FAR posix_spawnattr_t *attr, size_t stacksize); +#else +# define task_spawnattr_getstackaddr(fa, addr) (*(addr) = NULL, 0) +# define task_spawnattr_setstackaddr(fa) (0) +# define task_spawnattr_getstacksize(fa, size) (*(size) = 0, 0) Review Comment: need return 0 to indicate success -- 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