File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ using namespace Rcpp;
33
33
#endif
34
34
35
35
#if defined(__GNUC__) || defined(__clang__)
36
- #if defined(_WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun) || defined(_AIX) || defined(__MUSL__)
36
+ #if defined(_WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun) || defined(_AIX) || defined(__MUSL__) || defined(__HAIKU__)
37
37
// do nothing
38
38
#else
39
39
#include < execinfo.h>
@@ -272,7 +272,7 @@ SEXP rcpp_can_use_cxx11() { // #nocov start
272
272
// [[Rcpp::register]]
273
273
SEXP stack_trace (const char * file, int line) {
274
274
#if defined(__GNUC__) || defined(__clang__)
275
- #if defined(_WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun) || defined(_AIX) || defined(__MUSL__)
275
+ #if defined(_WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun) || defined(_AIX) || defined(__MUSL__) || defined(__HAIKU__)
276
276
// Simpler version for Windows and *BSD
277
277
List trace = List::create (_[" file" ] = file,
278
278
_[ " line" ] = line,
You can’t perform that action at this time.
0 commit comments