simbit18 commented on code in PR #10905:
URL: https://github.com/apache/nuttx/pull/10905#discussion_r1359325887


##########
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:
   ```
   #if defined __has_include
   #   if __has_include(<execinfo.h>)
   #      define SIM_GLIBC_PLATFORM 1
   #   endif
   #endif
   ```
   I tested on Alpine and Mingw it's ok. I will update this 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

Reply via email to