Permalink
Browse files

Added preprocessor guard NO_EXECINFO_H to avoid inclusion of <execinf…

…o.h>

which is yet missing in OpenWRT
  • Loading branch information...
eugene
eugene committed Aug 27, 2018
1 parent 869dcfa commit f87cf10396da66345b87d89fa358599dc5c78d71
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/services/ddsi2/code/sysdeps.c
@@ -267,7 +267,7 @@ int __S_exchange_and_add (volatile int *mem, int val)
}
#endif
#if !(defined __APPLE__ || defined __linux) || (__GNUC__ > 0 && (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) < 40100)
#if (defined NO_EXECINFO_H) || !(defined __APPLE__ || defined __linux) || (__GNUC__ > 0 && (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) < 40100)
void log_stacktrace (const char *name, os_threadId tid)
{
OS_UNUSED_ARG (name);

0 comments on commit f87cf10

Please sign in to comment.