Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ using namespace Rcpp;
#endif

#if defined(__GNUC__)
#if defined(_WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun) || defined(_AIX)
#if defined(_WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun) || defined(_AIX) || defined(__MUSL__)
// do nothing
#else
#include <execinfo.h>
Expand All @@ -49,7 +49,6 @@ using namespace Rcpp;
);
return demangle(buffer);
}

#endif
#endif

Expand Down Expand Up @@ -257,7 +256,7 @@ SEXP rcpp_can_use_cxx11() {
// [[Rcpp::register]]
SEXP stack_trace(const char* file, int line) {
#if defined(__GNUC__)
#if defined(_WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun) || defined(_AIX)
#if defined(_WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun) || defined(_AIX) || defined(__MUSL__)
// Simpler version for Windows and *BSD
List trace = List::create(_["file"] = file,
_[ "line" ] = line,
Expand Down