acassis commented on code in PR #10905: URL: https://github.com/apache/nuttx/pull/10905#discussion_r1358359671
########## arch/sim/src/sim/posix/sim_hostmisc.c: ########## @@ -90,10 +90,10 @@ void host_abort(int status) int host_backtrace(void** array, int size) { -#ifdef CONFIG_WINDOWS_CYGWIN - return 0; -#else +#ifdef CONFIG_SIM_GLIBC_PLATFORM Review Comment: I think __has_include is not portable. You need to test first if it is defined. https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005finclude.html -- 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